Zoning Density Calculator Formula
Understand the math behind the zoning density calculator. Each variable explained with a worked example.
Formulas Used
Maximum Allowed Units
maximum_units = max_unitsUnits Allowed by Lot Size
by_lot_size = units_by_lot_sizeUnits Allowed by Density Limit
by_density = units_by_densityNet Buildable Area
net_buildable_area = net_buildableParcel Acreage
total_acres = parcel_acresTotal Building Area
total_bldg_sqft = total_building_areaVariables
| Variable | Description | Default |
|---|---|---|
parcel_sqft | Total Parcel Size (sq ft)(sq ft) | 217800 |
min_lot_size_sqft | Minimum Lot Size (sq ft)(sq ft) | 7200 |
road_dedication_pct | Road/Open Space Dedication(%) | 25 |
max_density_per_acre | Max Density (units/acre) | 8 |
avg_unit_size_sqft | Average Unit Size (sq ft)(sq ft) | 1800 |
parcel_acres | Derived value= parcel_sqft / 43560 | calculated |
net_buildable | Derived value= parcel_sqft * (1 - road_dedication_pct / 100) | calculated |
units_by_lot_size | Derived value= min_lot_size_sqft > 0 ? floor(net_buildable / min_lot_size_sqft) : 0 | calculated |
units_by_density | Derived value= floor(parcel_acres * max_density_per_acre) | calculated |
max_units | Derived value= units_by_lot_size < units_by_density ? units_by_lot_size : units_by_density | calculated |
total_building_area | Derived value= max_units * avg_unit_size_sqft | calculated |
How It Works
Zoning Density Calculations
Zoning regulations control how many dwelling units or how much building area can be placed on a given parcel. Density is limited by multiple factors, and the most restrictive one governs.
Density Limiters
1. Maximum density per acre: The zoning code specifies a maximum number of units per acre (e.g., 8 units/acre) 2. Minimum lot size: Each unit must have a minimum lot area (e.g., 7,200 sq ft) 3. Road and open space dedication: Typically 20-30% of the parcel is dedicated to roads, sidewalks, and open space 4. Setbacks and coverage: Building footprint limits further constrain density
Calculation Method
1. Subtract road/open space dedication from total parcel area 2. Calculate units by dividing net area by minimum lot size 3. Calculate units by multiplying acreage by maximum density 4. The lower number is the maximum allowed
Density Bonus Programs
Many jurisdictions offer density bonuses (10-35% more units) for including affordable housing, green building features, or transit-oriented design.
Worked Example
5-acre parcel (217,800 sq ft), 7,200 sq ft minimum lot size, 25% road dedication, 8 units/acre maximum, 1,800 sq ft average unit.
- 01Parcel acreage: 217,800 / 43,560 = 5.0 acres
- 02Net buildable: 217,800 x 75% = 163,350 sq ft
- 03Units by lot size: 163,350 / 7,200 = 22 units
- 04Units by density: 5.0 x 8 = 40 units
- 05Maximum allowed: 22 units (limited by lot size)
- 06Total building area: 22 x 1,800 = 39,600 sq ft
Ready to run the numbers?
Open Zoning Density Calculator