Baby Gate Size Calculator

Enter your door or staircase opening width to find the right baby gate size, see how many extension panels you need, and get guidance on pressure vs. hardware mounting.

inches

Measure the widest point of the opening

How to measure your opening correctly

  1. 1Measure at three heights — bottom (6"), middle, and top. Use the widest measurement.
  2. 2For stair openings, include any trim or moulding in your measurement.
  3. 3Check for wall studs on both sides before buying a hardware-mounted gate.
  4. 4If baseboard trim is deep (>1"), you may need extension feet to span the baseboard.

Your inputs never leave your device. All calculations happen locally.

GrowthKit app icon

GrowthKit

Track your child's growth over time

Free on the App Store

Download Free

Baby gate types at a glance

Not all safety gates are created equal. The right type depends on where you're installing it and your child's age and abilities.

🔧

Hardware-mounted

Required: top of stairs

Screwed into studs. The only safe option for top of stairs. Permanent installation — ideal for long-term use.

📌

Pressure-mounted

Not for stairs

Spring tension only — no drilling. Quick to move between rooms but can be displaced. Use for doorways and room dividers only.

↔️

Extra-wide (with extensions)

24"–60" openings

Standard gate + extension panels to span wider openings up to 60". Hardware mounting recommended over 36".

📏

Retractable mesh

Versatile fit

Rolls up when not in use. Great for irregular or wide openings. Check weight rating before adults lean against it.

⚠️ Safety rules that are never optional

  • Hardware mounting at the top of stairs — no exceptions.
  • Anchor screws into wall studs, not just drywall.
  • Look for JPMA or ASTM certification on the gate packaging.
  • No gate with horizontal bars a child can use as a foot ladder.
  • Replace a gate if any component is broken, bent, or missing.
  • Never prop a gate open — this defeats its purpose entirely.

Frequently asked questions

How do I know what size baby gate to buy?

Measure the width of your opening at three heights — bottom, middle, and top — and use the widest measurement. Add at least 1–2 inches to that number to give the gate overlap on each side for secure mounting. Most standard gates cover 24–36 inches. If your opening is wider, you'll need an extra-wide gate or extension panels.

What's the difference between pressure-mounted and hardware-mounted gates?

Pressure-mounted gates use rubber bumpers pressed against walls to stay in place — no drilling required. They're quick to install and remove but can be pushed out of position. Hardware-mounted gates are secured with screws drilled into wall studs or masonry anchors, making them much more stable. Hardware mounting is required at the top of stairs and strongly recommended at the bottom.

Can I use a pressure gate at the top of the stairs?

No — this is a serious safety hazard. Pressure gates can be pushed out of place, and at the top of stairs a falling child could tumble down the entire flight. The CPSC and JPMA strongly advise hardware-mounted gates only for top-of-stair installations, secured into wall studs (not just drywall).

My staircase doesn't have walls on both sides — can I still use a gate?

Yes, but it requires a banister-to-banister or banister-to-wall mounting kit with angled hardware or specialized brackets. Several brands (e.g., KidCo, Cardinal Gates) make gates designed for this configuration. Measure the widest span and choose a gate with an appropriate mounting kit.

How tall should a baby gate be?

Most standard gates are 29–30 inches tall, which meets JPMA safety certification standards and is appropriate for babies and young toddlers. If your child is an early climber or is over 18 months, consider an extra-tall gate at 36 inches. Some gates are available at 40+ inches for particularly determined climbers.

How do I find wall studs for hardware mounting?

Use a stud finder (available at hardware stores for ~$15). Alternatively, sound test by knocking — hollow sounds indicate drywall only, solid sounds indicate a stud. Studs are typically 16 inches apart (on center) in US construction. Always anchor gate hardware into studs, not just drywall, to support the force of a child pressing against the gate.

When can I remove the baby gate?

Most families remove stair gates between ages 2 and 3, when children can safely navigate stairs with supervision. A good test: can your child consistently climb and descend stairs holding the rail without stumbling? That said, especially adventurous or easily distracted children may need gates longer. Door and room-divider gates can be removed when you feel confident your child won't access those areas unsafely.