Spreadsheet Practice

How to convert inches to feet and inches in Excel

Formula (Excel and Google Sheets)

=INT(B2/12)&"' "&MOD(B2,12)&""""

Whole feet from INT, leftover inches from MOD: =INT(B2/12)&"' "&MOD(B2,12)&"""" turns 71 into 5' 11".

Result on the example
one result per row in C2, filled down to C6
Works in
Every current version
Google Sheets
Same formula

See it work

The formula is already in C2, filled down to C6. Change any input and the result updates, or edit the formula to experiment.

How it works

There are 12 inches in a foot. INT(B2/12) is the whole number of feet (71 ÷ 12 = 5.9, so 5), and MOD(B2,12) is the inches left over (11). The & joins them with the foot and inch marks; """" is how a formula writes a single double quote.

=INT(B2/12)&"' "&MOD(B2,12)&""""

Result"5' 4""

  1. B264

    The value in B2.

  2. B2/125.333333333

    The / operator divides.

  3. INT(B2/12)5

    INT: Rounds down to the nearest integer.

    • numberB2/125.333333333
  4. INT(B2/12)&"' ""5' "

    The & operator joins as text.

  5. MOD(B2,12)4

    MOD: Remainder after division.

    • numberB264
    • divisor12
  6. INT(B2/12)&"' "&MOD(B2,12)"5' 4"

    The & operator joins as text.

  7. INT(B2/12)&"' "&MOD(B2,12)&"""""5' 4""

    The & operator joins as text.

In Google Sheets

The same formula works in Google Sheets: =INT(B2/12)&"' "&MOD(B2,12)&"""". We ran it in Google Sheets mode on the same data and it returns the same results.

Other ways to do it

Each one was run on the same example sheet.

FormulaResultWhen to use it
=TRUNC(B2/12)&"' "&MOD(B2,12)&""""5' 4", 5' 11", 6' 3"…TRUNC gives the same whole feet for positive heights.

Common mistakes

  • The result is text, so it can't be summed or sorted numerically. Keep the inches column for calculations.
  • With decimal inches, MOD returns decimals too, and rounding 11.6 gives 5' 12". Round the inches first: =ROUND(B2,0).

Try it yourself

Same data, empty answer cell. Your formula is graded instantly, then re-checked on changed data, so a typed-in number won't pass.

Convert inches to feet and inches

In C2, show the height in feet and inches, like 5' 4", then fill down to C6.

Questions

How do I convert centimeters to feet and inches?

Turn centimeters into inches first: =INT(B2/30.48)&"' "&ROUND(MOD(B2/2.54,12),0)&"""".

How do I get decimal feet instead?

Divide by 12: =B2/12 gives 5.92 for 71 inches.

Checked by running on 2026-10-30: every formula and result on this page was calculated by the Spreadsheet Practice formula engine, in both Excel and Google Sheets modes.