Bathtub Installation Cost & Drain Fit Calculator
Put two written bathtub offers on the same measured footprint before comparing their installation totals. Enter the alcove dimensions and the existing drain center, then compare each rectangular tub envelope and drain drawing. Inspect the closest permitted alignment and available end positions with a scaled plan and enlarged drain view.
Compare alcove bathtub fit and installation cost
Compare two written totals alongside your measured tub envelope and drain-center geometry.
Edit alcove, drain and written offers
Only Offer A meets the entered fit and budget limits.
Budget $2,600.00 · drain tolerance 5 mm
Offer A
Meets both limits$2,600.00
Exactly at budget
Nearest drain centers within tolerance · 5 mm apart
Offer B
Misses an entered limit$2,400.00
$200.00 below budget
Drain centers outside tolerance · 6 mm apart
Inspect the tub and drain centers
Closest drain centers · 5 mm apart · Within tolerance
Tub left at 6 mm · allowed 4 to 6 mm
Tub drain coordinate 246 mm from left and 383 mm from rear
Modeled alcove plan
1,530 × 775 mm
Left and rear references are at the upper-left of the plan.
- Tub envelope
- Site drain
- Tub drain
Drain detail
Tolerance 5 mm
The circle shows the entered tolerance around the site drain.
Review the exact tub-fit ledger
| Offer | Position | Tub left (mm) | Drain Δx (mm) | Drain Δy (mm) | Distance² (mm²) | Written total | Within tolerance |
|---|---|---|---|---|---|---|---|
| A | Left limit | 4 | -6 | -3 | 45 | $2,600.00 | No |
| A | Closest drain centers | 6 | -4 | -3 | 25 | $2,600.00 | Yes |
| A | Right limit | 6 | -4 | -3 | 25 | $2,600.00 | Yes |
| B | Left limit | 4 | -2 | 6 | 40 | $2,400.00 | No |
| B | Closest drain centers | 6 | 0 | 6 | 36 | $2,400.00 | No |
| B | Right limit | 8 | 2 | 6 | 40 | $2,400.00 | No |
How to use this calculator
- Measure the alcove front and rear from the same left datum. Use an alcove depth that already accounts for the allowed front edge. Enter the minimum left and right end reserves and the fixed rear setback for this comparison.
- Measure the site drain center from the left and rear references. Enter a documented center-to-center tolerance and your installation budget.
- For each bathtub, enter the measured or documented rectangular envelope along with the drain’s stated offset from its left or right end and rear edge.
- Enter each written total in USD using comparable inclusions. Costs come from the two offers.
- Compare the nearest placements, inspect either end of the allowed range, and download the exact geometry and budget ledger.
The Formula
The mathematical logic powering this calculation is:
Use a common rectangular reference with x from the left and y from the rear. The shorter measured alcove length defines the rectangular model. For tub length L, minimum end reserves a and b, and measured usable length W, permitted tub-left positions are x ∈ [a, W − L − b]. The tub depth plus the fixed rear setback must also be at most the entered alcove depth. If either check fails, there is no modeled placement.
Let u be the tub drain offset from its left edge and v the offset from its rear. For a drawing dimension measured from the right edge, compute u = L − offset. Drain coordinates in the site datum are (x + u, rear setback + v). For site drain x-coordinate X, the closest position is x = clamp(X − u, a, W − L − b) because the y error is fixed. Compare (tub drain x − site drain x)² + (tub drain y − site drain y)² with the square of the entered drain-center tolerance. Equality fits under the entered criterion. Relative placement at the two allowed ends is also available. All decisions and exported values use exact rational arithmetic. The displayed distance uses a square root.
An offer meets both limits when its closest position is within tolerance and its written total is at or below the input budget. Input dollars and cents for all costs. Geometry accepts up to three decimal places in millimeters. A common rectangular datum assumes the analyzed width holds across the full modeled pocket, with zero rotation and fixed rear setback. Use the documented envelope for the same finished or rough reference measurements. The model compares plan geometry and entered quote totals. Drain parts, depth below the floor, flange fit, fastening, access path, labor scope and code compliance need their own checks.Worked Example
If you input:
- Modeled alcove: Front 1,530 mm, rear 1,534 mm, depth 775 mm
- Reserve and setback: 4 mm at each end and 3 mm at the rear
- Site drain: 250 mm from left and 386 mm from rear, with a 5 mm illustrative tolerance
- Budget and offers: $2,600 budget, Offer A $2,600, Offer B $2,400
Result:
Offer A fits the envelope, and sliding it to a 6 mm left position leaves 4 mm of leftward and 3 mm of rearward drain offset. The resulting 5 mm drain-center distance and $2,600 total both meet their limits exactly. Offer B is $200 below budget, but its nearest drain centers remain 6 mm apart.
Frequently Asked Questions
What if my front and rear alcove lengths differ?
The model uses the shorter measurement as a rectangular limit from the common left datum. Check skew, bows or localized obstructions separately where a single rectangle does not describe the opening.
How do I enter a right-hand drain dimension?
Enter the dimension from the drawing’s right edge and choose Right in the drain reference field. The worksheet subtracts that dimension from the tub length to obtain the offset from the left.
Why can sliding the tub fix only one part of the mismatch?
The tub slides along the alcove length. Its rear setback and the nominal drain offset from its rear remain fixed.
Does the illustrative tolerance imply that my drain can connect?
The tolerance is a sample input for the comparison. Use a documented dimension for your specific work. The plot compares centers in plan and leaves connection routing and vertical fit for separate checks.
Are the costs local estimates?
The worksheet compares written totals you supply. Compare quotes with aligned tax, removal, disposal and installation scope before using their totals.
Similar Calculators
Walk-In Shower Opening, Door Swing & Quote Planner
Compare walk-in shower quotes and finished openings. Check measured jamb widths, stated walk-through and pivot-door sweep around obstacles.
Bathroom Remodel Cost & Quote Calculator
Compare bathroom remodeling quotes, allowances, changes and missing scope. Plan contingency and contractor payments with a cash timeline, exact tables and CSV.
Plumbing Rough-In Cost per Fixture Calculator
Compare two plumbing rough-in quotes using shared run lengths, fixture counts and written allowances. See where billed blocks change which quote costs less.
