Top and Bottom Layer Count Calculator
Slicers let you specify solid top and bottom shells either as a thickness in millimeters or as a number of layers, and the two are linked by the layer height. The layer count is the desired thickness divided by the layer height, rounded up because layers print in whole passes. This calculator converts your target top and bottom thicknesses into layer counts at your chosen layer height, and reports the actual solid thickness those whole layers produce. It does not assume a thickness; you enter the values that suit your part, infill, and finish.
Layer count formula
Top layers = ceil(top thickness / layer height)
Bottom layers = ceil(bottom thickness / layer height)
Total solid layers = top layers + bottom layers
Actual solid thickness = total solid layers * layer height
Rounding up guarantees the shell is at least as thick as requested. The actual thickness shows the small overshoot from rounding to whole layers.
Top and bottom layer context
- Layer count is the thickness divided by layer height, rounded up to whole passes.
- Common solid shells are around 0.8 to 1.2 mm, but the target is yours to set.
- Too few top layers can pillow or sag into the infill below.
- The bottom prints on the bed and often needs fewer layers than the top.
- Beyond a sufficient count, extra solid layers add time without improving the finish.
Top and bottom layers: frequently asked questions
How do I convert shell thickness to a layer count?
Divide the desired solid thickness by the layer height and round up, since a partial layer still needs a full pass. For a 0.8 mm top at a 0.2 mm layer height, that is four top layers. Most slicers let you set either a thickness or a layer count; this converts between them.
How thick should top and bottom layers be?
A common starting point is enough solid layers to fully close the surface over the infill, often around 0.8 to 1.2 mm, but the right value depends on infill density, the part, and the finish you want. This calculator does not assume a thickness; you enter your target.
Why round the layer count up?
Layers are printed in whole passes at the set layer height, so you cannot print a fraction of a layer. Rounding up ensures the solid shell is at least as thick as you intended, never thinner.
Do thicker top layers improve the surface?
Up to a point. Too few top layers can sag into the infill and show pillowing, while more solid layers bridge the infill cleanly. Beyond a sufficient count, extra top layers mainly add time and material without improving the finish.
Should top and bottom counts match?
Not necessarily. The bottom prints on the bed and is usually smooth with fewer layers, while the top spans infill and may need more. Set them independently to suit each face of the part.
Official sources
- RepRap project documentation: reprap.org (slicing and shell reference).
- Marlin firmware documentation: Configuration reference.
Reviewed by the CalculatorHub team, edited by James Graham, 17 June 2026. See our methodology.