About


How It Works

Lumber Calculator grabs the prices and measurements of several products from The Home Depot 's website and stores them in a small database on your browser. There is also a database of schematics.

When you click the calculate button, it searches the database for all the materials whose measurements and properties match those required by the selected schematic. Next, it calculates the various ways the schematic can be built with the different materials, and then chooses the cheapest option, which is then displayed to you in the table.

Story of Its Creation

Picture of Brenton Cozby at City Year

Lazy people will go out of their way just to be a little bit lazier. This website was created by a lazy person.

My name is Brenton Cozby. On a random Tuesday afternoon in February, 2016, I was sitting behind my desk at the City Year Miami headquarters doing some math. "How many two-by-sixes do I need to order from Home Depot if I want to build 9 benches for this school?" I wondered. At the time, my job at City Year involved planning beautification projects for City Year's schools in Miami.

Normally, I would look at Care Force's "Backed Bench" schematic, find out how many two-by-sixes it says are required to build a bench, and multiply that number by 9. But this created a lot of wasted wood.

So, I tried to figure out how to fit more pieces into less wood. A few months of computer programming classes and several online tutorials later, Lumber Calculator was born! Sort of...

Before I got into coding, I did the calculations on paper and then on Excel, but even Excel had its limitations so that's why I turned to making my own calculator. At first, this application was built in the historic C programming language because it was the first one I learned. Today, however, it is written in HTML, CSS, and JavaScript (with no frameworks!).

This calculator was saving me wood and money--about 5-20% in cost savings, depending on what I was building and how many.

Ever since building this calculator, what used to take a few hours on pen and paper now takes a lazy click of a button. 

Preview of schematic PDF

Check the Math


To check the math of these calculations, view this Google Spreadsheet. It shows you the micro-calculations within each calculation.

And if you've checked the math and find something wrong or something that can be improved, please tell me!