This is not tax, legal, or lending advice. The 8.25% on this page is a rate typed for one quote. It is not a lookup of any city’s tax, and it is not a rule about what a state taxes. Confirm the rate, and whether labor is taxable, before you send the number.
The sample is a bathroom refresh for Mara Chen at Oak Street, quoted 03/16/2026. Six lines. The cost is $3,100. A 20% markup makes the price before tax $3,720. Tax on the materials is $120.78. The client total is $3,840.78.
The workbook that keeps the lines, the markup, and the tax together is the construction estimate.
Order the tile before you price it
The floor needs 36 square feet. Waste is 10%, which the cell stores as 0.10. 36 × 1.10 = 39.6. You cannot buy 0.6 of a square foot on this quote, so the order rounds up.
=ROUNDUP(B2*(1+B3),0)| A | B | |
|---|---|---|
| 1 | Tile | |
| 2 | Need, sq ft | 36 |
| 3 | Waste | 10% |
| 4 | Exact | 39.6 |
| 5 | Order | 40 |
| 6 | Unit cost | $8 |
| 7 | Line | $320 |
=36*(1+10%)
=ROUNDUP(36*(1+10%), 0)
=40*8
ROUNDUP of 39.6 to 0 decimals is 40. It rounds away from zero, so the 0.6 is enough. 40 × $8 = $320. That $320 is the tile line. The 36 stays in the Need column so you can see what the room measured before the waste.
ROUND of 39.6 would be 40 as well, because the first dropped digit is 6. ROUND of 39.4 would be 39, and 39 × $8 = $312, which is short of the 39.6 square feet. Use ROUNDUP when the question is how much to buy.
Add the lines
The other five lines have no waste. A vanity is $400, a quartz top is $350, a faucet is $150, 16 hours of demo and set at $75 is $1,200, and 8 hours of plumbing at $85 is $680.
=SUMPRODUCT((A2:A7="Materials")*(B2:B7))| A | B | |
|---|---|---|
| 1 | Category | Line |
| 2 | Materials | 400 |
| 3 | Materials | 350 |
| 4 | Materials | 150 |
| 5 | Materials | 320 |
| 6 | Labor | 1200 |
| 7 | Labor | 680 |
| 8 | Materials | 1220 |
| 9 | Labor | 1880 |
| 10 | Cost | 3100 |
=SUMPRODUCT((A2:A7="Materials")*(B2:B7))
=SUMPRODUCT((A2:A7="Labor")*(B2:B7))
=1220+1880
SUMPRODUCT multiplies the two arrays and adds the products. The test A2:A7="Materials" is 1 on a materials row and 0 on a labor row, so the labor amounts drop out. Materials are 400 + 350 + 150 + 320 = 1,220. Labor is 1,200 + 680 = 1,880. The cost is $3,100.
Materials and materials match. Materials with a space on the end does not, and that line would be missing from both totals. The workbook lists the two words in a dropdown so a typed space cannot slip in.
A 20% markup is not a 20% margin
Markup is profit divided by cost. Margin is profit divided by price. On this quote the markup rate is 20%, stored as 0.20.
=B4/B5| A | B | |
|---|---|---|
| 1 | Quote | |
| 2 | Cost | $3,100 |
| 3 | Markup rate | 20% |
| 4 | Markup | $620.00 |
| 5 | Price | $3,720.00 |
| 6 | Margin | 16.67% |
=3100*20%
=3100+620
=620/3720
=xl.markup(3720, 3100)
=xl.margin(3720, 3100)
$3,100 × 0.20 = $620. The price before tax is $3,720. 620 / 3,720 = 0.1666…, which displays as 16.67%.
xl.markup of the $3,720 price and the $3,100 cost is 0.20. xl.margin of the same pair is 0.1666…. The names need Microsoft 365, Excel 2024, or Excel for the web. Excel 2021 returns #NAME?. The divisions (3720 − 3100) / 3100 and (3720 − 3100) / 3720 are the same ratios without the names. The workbook uses those divisions, so it opens in Excel 2010.
Treating the 20% as a margin instead of a markup prices a different job:
=3100/(1-20%)
That is $3,875. It is $155 higher than $3,720. The profit would be $775, which is a 25% markup on $3,100, not 20%. Multiply the cost by 1.20. Do not divide by 0.80 unless you meant a 20% margin.
Tax the lines marked Yes
The sample marks the four material lines Yes and the two labor lines No. The taxable cost is the same $1,220. After the same 20% markup the tax base is $1,464. A state that taxes labor would need those lines marked Yes. The formula does not decide that.
=ROUND(B4*B5,2)| A | B | |
|---|---|---|
| 1 | Quote | |
| 2 | Taxable cost | $1,220 |
| 3 | Markup rate | 20% |
| 4 | Tax base | $1,464.00 |
| 5 | Rate | 8.25% |
| 6 | Tax | $120.78 |
| 7 | Price before tax | $3,720.00 |
| 8 | Client total | $3,840.78 |
=1220*(1+20%)
=ROUND(1464*8.25%, 2)
=xl.sales_tax(1464, 8.25%)
=3720+120.78
ROUND of 1,464 × 0.0825 to 2 decimals is $120.78. 1,464 × 0.08 = 117.12, and 1,464 × 0.0025 = 3.66. xl.sales_tax does that ROUND. It does not know the city. The 8.25% is whatever you typed. The client total is $3,720 + $120.78 = $3,840.78.
The workbook puts the client total on the dashboard, with a chart of cost and price for materials and for labor. Materials price is $1,464. Labor price is $1,880 × 1.20 = $2,256. Those two prices add back to $3,720, before the tax.