How the lot math tools work
Every number the calculators show comes from a formula on this page or from one dated public data set. The tools do arithmetic on your numbers. They do not price your job.
Last updated
What the five tools are
Lot math has five calculators:
- Lot plan: lot area, buildable area and how much of the lot is covered.
- Job budget: the cost of a job from your own line items, with an optional state price index.
- Material order: how much material to order for an area.
- Fence and deck takeoff: counts of posts, boards and joists.
- Pool volume: the water a pool holds.
None of them contains a price list. The tools hold no contractor prices, no material prices and no labor rates. Any price in a result is a number you typed. The tools also do not know your local code. Treat each result as a starting point for a conversation with a surveyor, a supplier, a building office or a bidder.
Rules all five tools share
- US units. Lengths are in feet and inches, areas in square feet, volumes in cubic feet, cubic yards and US gallons.
- Your numbers in, arithmetic out. A tool applies the formulas below to what you enter. It does not look up your lot.
- Examples are examples. The worked examples on this page use round numbers chosen to show the steps. They are not typical lots, prices or setbacks.
- Your entries stay in your browser. TerraElm has no server endpoint that receives what you type into a calculator. The only forms on the site are the contact form and the email sign-up.
Lot plan
Lot area. For a rectangular lot, area equals width times depth, in square feet. For a triangle, area equals half the base times the height. For an irregular lot, split it into rectangles and triangles and add the parts. A deed or plat may state the area; if your measurement and the record disagree, the record and a surveyor’s work win.
Acres. One acre is 43,560 square feet, so acres equal square feet divided by 43,560.
Buildable area. For a rectangular lot with setbacks, buildable width is lot width minus the left and right side setbacks. Buildable depth is lot depth minus the front and rear setbacks. Buildable area is buildable width times buildable depth. Setbacks come from your city or county, and easements can take away more.
Lot coverage. Coverage in percent equals the area under roofs (and any other surface your city counts) divided by lot area, times 100.
Yard area. Yard area is lot area minus the building footprint, minus paved areas such as drives and walks.
Example, using made-up setbacks: an 80 ft by 125 ft lot has 80 × 125 = 10,000 square feet, which is 10,000 ÷ 43,560, about 0.23 acre. With a 25 ft front setback, a 20 ft rear setback and 7.5 ft side setbacks, buildable width is 80 − 15 = 65 ft and buildable depth is 125 − 45 = 80 ft. Buildable area is 65 × 80 = 5,200 square feet. A 2,000 square foot footprint covers 2,000 ÷ 10,000 × 100 = 20 percent of the lot. If the drive and walks add 600 square feet, yard area is 10,000 − 2,000 − 600 = 7,400 square feet.
The tool assumes a rectangle. A corner lot, a curved street line or a flag lot needs your own measurement of each setback line.
Job budget
Line items. Each line is quantity times unit price. You choose the unit, such as feet, square feet, visits or trees, and you enter the price. The subtotal is the sum of the lines.
Contingency. Contingency is a percentage you choose, applied to the subtotal. It exists because jobs hit surprises. The total is the subtotal plus the contingency.
State price index. If you enter a ZIP code, the tool finds the state and shows a regional price index for it (see the next section). The index is the state’s Regional Price Parity divided by 100. To compare a national-level figure with a state’s overall price level, multiply the figure by the index.
Example: two lines of 100 units at $10 and 2 units at $250 give a subtotal of $1,000 + $500 = $1,500. A 10 percent contingency adds $150, for $1,650. In BEA’s 2024 data, California’s index is 110.7 and Arkansas’s is 86.9. A national-level figure of $1,650 scales to $1,650 × 1.107 = $1,826.55 at California’s price level, and to $1,650 × 0.869 = $1,433.85 at Arkansas’s. Those dollar amounts illustrate the arithmetic. They are not quotes.
Apply the index only to figures that are national averages. Do not apply it to a bid from a local business, which already reflects local prices.
Material order
Coverage. Area divided by the coverage of one unit gives the units needed. For loose material such as mulch, gravel or soil, volume in cubic feet equals area times depth in feet (depth in inches divided by 12). Cubic yards equal cubic feet divided by 27.
Waste. Quantity to order equals quantity needed times (1 plus waste percentage ÷ 100). Waste covers cuts, spills, uneven ground and breakage. You choose the percentage, because it depends on the material and the job.
Rounding. Round up to the smallest unit the seller offers. Ordering a little over costs less than a second delivery.
Example: a 600 square foot bed at 3 inches deep needs 600 × 3 ÷ 12 = 150 cubic feet, or 150 ÷ 27 = 5.56 cubic yards. With 10 percent waste, that is 5.56 × 1.10, about 6.1 cubic yards.
Fence and deck takeoff
This tool counts pieces. It does not design a structure.
Fence sections and posts. Sections equal run length divided by post spacing, rounded up. On an open run, posts equal sections plus one. On a closed loop, posts equal sections, because the last section meets the first post. Real spacing is run length divided by sections, so the last section is not a short one.
Fence boards. Boards equal run length in inches divided by (board width plus gap), rounded up.
Example: a 100 ft run with 8 ft spacing is 12.5, rounded up to 13 sections and 14 posts, at about 7.69 ft apart. With 5.5 inch pickets and a half inch gap, 1,200 inches ÷ 6 inches gives 200 pickets.
Deck area. Deck area equals length times width.
Joists. The joist count equals the length along which joists are spaced, in inches, divided by on-center spacing in inches, rounded up, plus one for the last joist.
Deck board rows. Rows equal deck width in inches divided by (board width plus gap), rounded up. Linear feet of decking equal rows times row length, plus your waste percentage.
Example: a 12 ft by 16 ft deck is 192 square feet. Joists run across the 12 ft width and are spaced along the 16 ft length: 192 inches ÷ 16 inches on center is 12, plus one, for 13 joists. With 5.5 inch boards and a quarter inch gap, 144 inches ÷ 5.75 inches is 25.04, rounded up to 26 rows. At 16 ft each that is 416 linear feet, or 458 with 10 percent waste.
Footings, ledgers, beam and joist sizes, spans, guards and stairs depend on your soil, loads and local code. The tool does not size them. Ask your building office what it requires, and whether the job needs a permit and a plan.
Pool volume
Gallons. One cubic foot holds about 7.48 US gallons (1,728 cubic inches in a cubic foot, divided by 231 cubic inches in a gallon). Volume in gallons equals volume in cubic feet times 7.48.
Rectangular pool. Cubic feet equal length times width times average depth.
Round pool. Cubic feet equal pi (3.14159) times the radius squared times average depth. The radius is half the diameter.
Oval pool. Cubic feet equal 0.7854 times length times width times average depth. The constant is pi divided by 4.
Average depth. For a floor that slopes evenly, average depth is the shallow depth plus the deep depth, divided by 2.
Example: a rectangular pool 16 ft by 32 ft, from 3.5 ft to 6 ft deep, has an average depth of 4.75 ft. Volume is 16 × 32 × 4.75 = 2,432 cubic feet, or 2,432 × 7.48, about 18,191 gallons. A round pool 18 ft across and 4 ft deep has a radius of 9 ft and holds 3.14159 × 81 × 4 = 1,017.9 cubic feet, about 7,614 gallons.
The result is an estimate. A floor with a steep drop, steps, benches or a curved shape is not an even slope, so measure carefully and check the pool maker’s stated capacity. The volume is not a chemical dose. For any product you add, follow the label. The pool guides cover drowning prevention, which no calculator can do for you.
The price index behind the job budget
What it is. The index comes from the US Bureau of Economic Analysis (BEA), part of the Department of Commerce. BEA publishes Regional Price Parities, which compare overall consumer price levels across states and metro areas. TerraElm uses the “all items” series by state.
Which data and when. The figures are for 2024. BEA released them on February 19, 2026, and its next release is scheduled for December 10, 2026. Until we check that release, the calculator keeps the 2024 figures and the date shown here. After it, we recheck the numbers, replace them and change the date on this page.
How it reads. A state’s RPP is a percentage of the national price level. A value above 100 means overall prices there are higher than the national level, and a value below 100 means lower. The index in the calculator is the RPP divided by 100.
ZIP to state. The tool takes the first three digits of your ZIP code and looks up the state that the Postal Service assigns to that prefix. If a prefix is not assigned to a state, for example a military or territory ZIP, you choose the state from a list.
What it is not. The index is a regional price level index. It is not a quote, a price list or a cost of living guide, and it has limits:
- It measures consumer prices overall. BEA builds it from Consumer Price Index price quotes and Census Bureau rent data. It is not built from contractor bids, labor rates, lumber, concrete or permit fees, so it may not match what outdoor work costs in your area.
- It is a state figure. Prices inside one state can differ a lot between a large metro area and a rural county. The tool uses the state, not your town.
- It is a single year. It compares places at one point in time, using 2024 data, and does not show how prices have changed since. BEA also revises its estimates.
- It is a ratio, not a price. It scales numbers you provide. It cannot tell you what a fence, a tree removal or a pool opening costs.
For real prices, get written bids from local businesses and compare them line by line, as the quotes guides explain.
How the rest of the site is researched
The articles do not use these tools to set prices. Where an article gives a price or a range, it names a dated source, as the editorial policy describes. Every article carries the date its facts were checked.
Questions about the math
If a result looks wrong, tell us on the contact page and include the numbers you entered. We will check the arithmetic against this page. Terms such as setback, easement and takeoff are in the glossary.