Feet and Inches Calculator

.fi-calc-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; max-width: 600px; margin: 20px auto; padding: 25px; border: 1px solid #ddd; border-radius: 8px; background-color: #f9f9f9; color: #333; box-shadow: 0 4px 6px rgba(0,0,0,0.1); } .fi-calc-container h2 { color: #2c3e50; text-align: center; margin-top: 0; } .fi-calc-row { display: flex; gap: 15px; margin-bottom: 15px; align-items: flex-end; } .fi-calc-group { flex: 1; } .fi-calc-group label { display: block; font-weight: bold; margin-bottom: 5px; font-size: 14px; } .fi-calc-group input, .fi-calc-group select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; } .fi-calc-btn { width: 100%; background-color: #0073aa; color: white; padding: 12px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; font-weight: bold; margin-top: 10px; } .fi-calc-btn:hover { background-color: #005177; } .fi-calc-result { margin-top: 20px; padding: 15px; background-color: #e7f3ff; border-left: 5px solid #0073aa; border-radius: 4px; } .fi-calc-result h3 { margin: 0 0 10px 0; font-size: 18px; } .fi-calc-summary { font-size: 20px; font-weight: bold; color: #0073aa; } .fi-calc-content { margin-top: 30px; line-height: 1.6; } .fi-calc-content h3 { color: #2c3e50; border-bottom: 2px solid #eee; padding-bottom: 5px; } .fi-calc-table { width: 100%; border-collapse: collapse; margin: 15px 0; } .fi-calc-table th, .fi-calc-table td { border: 1px solid #ddd; padding: 10px; text-align: left; } .fi-calc-table th { background-color: #f2f2f2; }

Feet and Inches Calculator

Length 1
Add (+) Subtract (-)
Length 2

Calculated Length:

How to Add and Subtract Feet and Inches

Calculating measurements in the imperial system can be tricky because it is not base-10. There are 12 inches in a foot, which means you cannot simply add the numbers as you would with decimals.

Steps to calculate manually:

  1. Convert both measurements entirely into inches (Feet × 12 + Inches).
  2. Perform the addition or subtraction on the total inch values.
  3. Divide the resulting total by 12 to find the number of feet.
  4. The remainder is the remaining inches.

Practical Example

Suppose you are a carpenter and need to add two boards together. Board A is 5 feet 8 inches and Board B is 3 feet 10 inches.

  • Board A: (5 × 12) + 8 = 68 inches
  • Board B: (3 × 12) + 10 = 46 inches
  • Total: 68 + 46 = 114 inches
  • Conversion: 114 ÷ 12 = 9 with a remainder of 6.
  • Result: 9 feet 6 inches.

Common Conversions Table

Fractional Inch Decimal Inch Notes
1/4″ 0.25″ Common wood thickness
1/2″ 0.5″ Standard drywall thickness
3/4″ 0.75″ Standard nominal lumber
12″ 1.0′ Exactly 1 foot

Why Use a Feet and Inches Calculator?

This tool is essential for construction, woodworking, and interior design projects where measurements are provided in the US Customary System. It eliminates rounding errors and prevents the "off-by-one" mistakes that occur when forgetting to carry over the 12-inch mark to the feet column.

function calculateFeetInches() { var f1 = parseFloat(document.getElementById('feet1').value) || 0; var i1 = parseFloat(document.getElementById('inches1').value) || 0; var f2 = parseFloat(document.getElementById('feet2').value) || 0; var i2 = parseFloat(document.getElementById('inches2').value) || 0; var op = document.getElementById('operation').value; var totalInches1 = (f1 * 12) + i1; var totalInches2 = (f2 * 12) + i2; var resultInches = 0; if (op === 'add') { resultInches = totalInches1 + totalInches2; } else { resultInches = totalInches1 – totalInches2; } var isNegative = resultInches < 0; var absInches = Math.abs(resultInches); var finalFeet = Math.floor(absInches / 12); var remainingInches = (absInches % 12).toFixed(2); // Clean up .00 from inches if (remainingInches.endsWith('.00')) { remainingInches = Math.floor(remainingInches); } var resultString = (isNegative ? "-" : "") + finalFeet + " ft " + remainingInches + " in"; var decimalString = "Total in Decimal: " + (resultInches / 12).toFixed(3) + " ft (" + resultInches.toFixed(2) + " inches)"; document.getElementById('finalResult').innerHTML = resultString; document.getElementById('decimalResult').innerHTML = decimalString; document.getElementById('resultArea').style.display = 'block'; }

Leave a Comment