What this calculator does
Add, subtract, multiply, or divide measurements expressed in feet and inches.
How it works
The calculator evaluates total inches = feet × 12 + inches; arithmetic is performed on total inches. Inputs are checked before calculation, and invalid values such as zero denominators or out-of-range selections produce a clear error instead of a misleading result.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
6-
?operation=OperationChoice · Required · Default: add · Accepted values: add, subtract, multiply, divide
-
?feetA=First feetNumber · Required · Default: 5
-
?inchesA=First inchesNumber · Required · Default: 8
-
?feetB=Second feetNumber · Required · Default: 2
-
?inchesB=Second inchesNumber · Required · Default: 6
-
?factor=FactorNumber · Required · Default: 2
Outputs
3-
measurementResult in feet and inchesText · Primary output
-
decimalFeetDecimal feetNumber
-
totalInchesTotal inchesNumber
Inputs and results
The inputs are Operation, First feet, First inches, Second feet, Second inches, Factor. Results include Result in feet and inches, Decimal feet, Total inches.