Minecraft Roof Generator

Enter your house’s width and length, pick gable, hip or flat, set the overhang and pitch, and the generator draws every roof layer with arrows for the stair direction, shows a 3D preview and counts the exact stairs, slabs and blocks. A 9 × 7 house with a one-block overhang needs 88 stairs and 11 slabs for a 45° gable roof, or 96 stairs and 3 slabs for a hip roof.

Updated 2026-11-09
88Stairs · 1 × 64 + 24
11Slabs · 11
18Full blocks (gable ends + steep rows)
5Layers high

To craft them: stairs come 4 from 6 blocks, slabs come 6 from 3 blocks. Corners: 0 stairs turn into corner pieces by themselves when placed next to each other.

North is up. Dashed line = your walls. Arrows show where each stair’s tall side points. B = bottom slab, T = top slab.

Stairs facing south11
Stairs facing north11
  • Stairs face the way you look when you place them, so their tall side ends up pointing away from you. Stand outside the wall and look at the house to place each bottom row.
  • Aim at the top half of a block’s side to place a stair or slab upside-down (useful for eaves and trim).

How to use the roof generator

01

Enter the wall size

Width is the east–west length of your walls, length the north–south length, measured on the outside of the walls.

02

Pick shape, overhang and pitch

Gable, hip or flat with trim. One block of overhang suits most houses. Gentle uses slabs, normal is the classic 45° stair roof, steep adds a full block under every stair.

03

Read the counts

The boxes show stairs, slabs and full blocks for the whole roof, plus how many layers high it is.

04

Build layer by layer

Move the layer slider. The dashed line shows your walls, arrows show where each stair’s tall side points, and B and T mark bottom and top slabs.

Gable, hip or flat: which roof should I build?

Roof What it looks like Good for Counts for 9 × 7, overhang 1
Gable Two slopes meeting at a ridge, triangle walls at the ends Cottages, cabins, medieval houses, barns 88 stairs, 11 slabs, 18 gable blocks
Hip Slopes on all four sides, no triangle walls Cottages, Japanese style, towers 96 stairs, 3 slabs
Flat with trim A deck with a raised rim Modern houses, desert houses 63 slabs, 28 blocks (no overhang)

A gable roof is the easiest and uses the fewest stairs. A hip roof looks the same from every side and needs no gable walls, but it uses more stairs and has corner pieces. A flat roof suits modern and desert builds; make the deck from bottom slabs so mobs cannot spawn on it. See all three on real houses in our house designs.

Pitch: gentle, normal and steep

  • Normal (45°): one stair per block across. This is the classic Minecraft roof and the one our builds use.
  • Gentle: the roof rises half a block per block across, using bottom and top slabs in turn. Good for wide buildings that would get very tall with stairs. A 9 × 7 gable needs 99 slabs.
  • Steep: a full block under each stair, so the roof rises two blocks per block across. Good for medieval and alpine houses. A 9 × 7 gable needs 88 stairs, 11 slabs and 135 full blocks including the gable walls.

Steep roofs give the most attic space; gentle ones keep a big building from towering over everything around it.

How stairs face on a roof

The Minecraft Wiki describes a stair’s facing as the direction its full-height side points, and when you place a stair it faces the direction you are looking. So for a roof, stand outside the wall, look at the house and place the bottom row: the tall side of each stair then points towards the ridge. Aim at the top half of a block’s side (or the underside of a block) to place a stair upside-down, which is useful for eaves and brackets.

Stairs also change shape on their own: when two stairs meet at a right angle they form an inner or outer corner. On a hip roof, place the straight stairs of each ring first and the corners last, and they will bend into place. Upside-down stairs never join with right-side-up ones.

Counting materials for a roof

Stairs are expensive: the crafting table gives 4 stairs from 6 blocks, so every stair costs 1.5 blocks. Slabs are cheap: 6 slabs from 3 blocks. For stone-type roofs, a stonecutter makes one stair per block, which saves a third of the material. So the 88 stairs of a 9 × 7 gable cost 132 planks, or 33 logs, when crafted. Paste the counts into the material calculator to see stacks and shulker boxes.

Overhang and the gable walls

With a one-block overhang, the first row of stairs sits outside the wall, level with the top row of the wall, and the next row sits right on the wall. That shadow line under the eaves is one of the easiest ways to make a house look better. The generator’s gable option also counts the triangle walls at both ends, from just above the top of your walls up to the roof. Fill them with planks, a log frame or a window; our medieval house uses a dark log post up the middle of each gable.

Roof tips from our builds

  • Use a different colour from the walls. A dark roof on pale walls, or the reverse, keeps the outline clear.
  • Break up long roofs with a chimney, as on our cottage, or a cross gable.
  • Layer roofs: the Japanese-style house puts a small hip roof on top of a lower skirt roof.
  • Light the attic. A large roof hides a dark space where mobs can spawn; hang a lantern from a beam.

Our guide to Minecraft roof designs compares gable, hip, A-frame and mansard roofs with block counts.

Frequently asked questions

How many stairs do I need for a roof in Minecraft?

It depends on the size and shape. A 7 × 7 house with a one-block overhang needs 72 stairs and 9 slabs for a gable roof, or 80 stairs and 1 slab for a hip roof.

How do I make roof corners in Minecraft?

Place two stairs at a right angle; the one between them turns into an inner or outer corner by itself. Place corners after the straight rows next to them.

Which way should roof stairs face?

Their tall side should point towards the ridge. Stand outside the wall facing the house when you place each bottom row.

What is the difference between a gable and a hip roof?

A gable roof has two slopes and triangle walls at the ends. A hip roof slopes on all four sides and has no triangle walls.

How do I place upside-down stairs?

Aim at the top half of a block’s side or at the underside of a block. Upside-down stairs are good for eaves and brackets.

Can mobs spawn on my roof?

Hostile mobs need a full solid top surface, which includes top slabs and upside-down stairs but not bottom slabs. A dark flat roof of full blocks can spawn mobs at night.

More on houses and building

Building guides

Related tools

House Ideas
Sources: minecraft.wiki/w/Stairs · minecraft.wiki/w/Slab · minecraft.wiki/w/Stonecutter · minecraft.wiki/w/Mob_spawning