CalculatorSwitch
Calculator Switch
material

Floor Joist Calculator

Last updated:

How to Use This Calculator

1. Enter your floor or deck length (the side the joists are spaced along) and width (the distance each joist has to span) in feet.
2. Pick your on-center spacing. 16 inches is the most common choice for floors and decks; use 12 inches for a stiffer floor or heavy loads, and 24 inches for light-duty framing.
3. Read the joist count and total lumber instantly.
4. Open More options to switch to metric, add a waste allowance, turn rim/end joists on or off, or estimate cost per board.

How joist counts work

A joist calculator answers one core question: how many parallel boards do you need to frame a floor or deck? Joists are the horizontal boards that carry the subfloor or decking above them. They run across the width of the area and repeat at a fixed on-center (OC) spacing along the length.

The count is not simply length divided by spacing. Because you need a joist at *both* ends of the run, you add one extra board: a 20-foot run at 16-inch spacing has 15 gaps but 16 joists. Most builders then add two rim (band) joists that cap the ends of the run and tie the frame together, so the total board count is usually the field joists plus two.

Tighter spacing means more joists, a stiffer floor, and less bounce underfoot.

The joist count formula

```
Field joists = ceil( length_in / spacing_in ) + 1
Total joists = field joists + 2 rim joists
Total lumber = (field joists x width) + (2 x length)
```
Length and width are converted to inches for the spacing math. The +1 adds the closing joist at the far end of the run, and the ceil (round up) covers a run that isn't an exact multiple of the spacing. Add a waste percentage to cover offcuts and blocking.

Joists per 10 feet of run

On-center spacingGaps per 10 ftJoists per 10 ft runRelative stiffness
12 in1011Stiffest
16 in7.5 → 89Standard
24 in56Light-duty

Examples

How many joists for a 12x20 deck? Using the 20-ft side as the run at 16-inch OC: 20 ft = 240 in, 240 / 16 = 15, +1 = 16 field joists spanning 12 ft, plus 2 rim joists = 18 joists.

Same deck at 24-inch OC: 240 / 24 = 10, +1 = 11 field joists + 2 rim = 13 joists — fewer boards, but a springier deck.

A 10x10 floor at 16-inch OC: 120 / 16 = 7.5, round up to 8, +1 = 9 field joists + 2 rim = 11 joists.

Framing tips

- 16-inch OC is the default for residential floors and most decks; it balances cost and stiffness.
- Go to 12-inch OC under tile, heavy loads, or long spans to cut deflection and bounce.
- Check your span tables — spacing plus joist depth (2x8, 2x10, 2x12) together set the maximum allowable span for your lumber species.
- Add about 10% waste for blocking, offcuts, and the occasional crooked board.
- Buy each joist in the next standard length (8, 10, 12, 16 ft) at or above your width so every joist is a single uncut board.

Frequently Asked Questions

How many floor joists do I need?
Measure the length of the wall the joists attach to, divide by your on-center spacing, round up, then add one for the closing joist at the far end. For a 16-foot run at 16-inch spacing that's 192 / 16 = 12, +1 = 13 field joists, plus 2 rim joists = 15 boards. This calculator does the arithmetic instantly.
What is the best floor joist spacing — 16 or 24 inches?
16-inch on-center is the residential standard and is required under many finished floors. 24-inch OC uses fewer joists and is allowed for light-duty framing or with deeper, stronger lumber, but it flexes more. When in doubt, use 16-inch and confirm against your local span tables.
How many joists for a 12x16 deck?
Using the 16-foot side as the run at 16-inch OC: 16 ft = 192 in, 192 / 16 = 12, +1 = 13 joists spanning 12 ft, plus 2 rim joists = 15 total. Drop to 12-inch spacing and you'll need 19 total.
Does the calculator include rim or end joists?
Yes. By default it adds two rim (band) joists that cap the ends of the run, so the headline count is the number of boards you actually buy. You can switch this off under More options if your design uses a different perimeter detail.
Can I use this as a deck joist calculator?
Absolutely. Deck and floor joists are counted the same way — enter your deck's dimensions and 16-inch (or 12-inch for a stiffer feel) spacing. Just remember decks also need joist hangers, and composite decking often specifies tighter spacing, so check your decking manufacturer's guidance.

Related Calculators

▸More options
Was this useful?