Methodology
This page explains how Snapline gets from your measurements to a number you can buy. It applies to every calculator on the site.
How each calculator is built
Before a calculator is written, it gets a specification. The specification lists the inputs and their limits, the formulas, the physical data with its sources, and test cases worked out by hand.
The formulas are plain functions with no screen code in them. They are tested against the hand-worked cases, and a calculator is not published until those tests pass.
Units
All the math is done in metric units (meters, kilograms), whatever you see on screen. Your numbers are converted only when they are shown. These conversions are exact by definition:
- Length
- 1 ft = 0.3048 m, 1 in = 0.0254 m, 1 yd = 0.9144 m
- Volume
- 1 yd³ = 27 ft³
- Mass
- 1 lb = 0.45359237 kg
Because the original value is kept, switching between Imperial and Metric and back returns exactly what you typed. Numbers are always written the US way, with a period as the decimal point.
Rounding
Anything you buy in whole units, such as bags or boxes, is rounded up. Half a bag of leftover mix costs little, and running short in the middle of a job costs a lot. Every result says when it has been rounded up.
Before rounding up, the result is cleaned to nine decimal places. This stops a tiny computer error, such as 61.0000000001, from adding a bag you do not need.
What you see on screen is rounded for reading, not for buying: lengths in feet are shown to the nearest quarter inch, volumes to two decimals and weights to whole pounds.
Sources
Every physical number has a named source, with the date it was checked. Manufacturer data sheets and technical standards come first. If there is no reliable source for a number, the field is left empty and you enter your own value.
Defaults
Some starting values are editorial choices, not standards. The 10% waste allowance in the concrete calculator is one of them. We call it “our default” and you can change it. A guide says so whenever a default is a judgment call.
Costs
Cost estimates use the price you type. Snapline does not look up store prices. If a calculator ever shows a price of its own, it will carry a source and a date.
What “Last reviewed” means
The date at the end of each guide changes when the specification, the formulas or the guide change in a way that matters. A typo fix does not change it.
Limits
Results are estimates. Check quantities with your supplier and follow your local building code. The Terms of Use have the details.
Report an error
If a number looks wrong, use the contact form. Say which calculator you used and what you entered.