ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Math
  3. How to Make a BMI Calculator in Excel With Categories

How to Make a BMI Calculator in Excel With Categories

By ExcelReady Team·Updated November 3, 2026·7 min read

The short answer

BMI is weight in kilograms divided by height in metres squared. With weight in B2 and height in centimetres in C2, type =ROUND(B2/(C2/100)^2,1). Then label it with IFS: below 18.5 is Underweight, below 25 Healthy weight, below 30 Overweight, and 30 or more Obesity. BMI is a screening number, not a diagnosis.

Key takeaways

  • The metric formula is weight (kg) divided by height (m) squared: =B2/(C2/100)^2 when height is in centimetres.
  • For pounds and inches, multiply by 703: =703*B2/C2^2.
  • Round with ROUND(...,1) and pick the category from the rounded value, so the label matches the number people see.
  • IFS checks the cut-offs in order from lowest to highest; nested IF does the same in older Excel.
  • BMI is a screening number for adults only. It is not medical advice and does not measure body fat.
On this page+
  1. What is the BMI formula?
  2. How to calculate BMI in Excel
  3. How to round BMI to one decimal place
  4. How to add BMI categories with IFS
  5. BMI categories with nested IF (Excel 2016 and earlier)
  6. Make the calculator safer to use
  7. Limits of BMI
  8. Practise it

A BMI calculator in Excel takes two inputs, weight and height, and returns body mass index (BMI) with one formula: weight in kilograms divided by height in metres squared. Add ROUND to keep one decimal place and IFS to turn the number into a category such as Healthy weight or Overweight. This guide builds the calculator step by step, for anyone practising formulas or making a simple health tracker.

BMI is a screening number for adults. It does not measure body fat and it is not a diagnosis, so treat this sheet as a formula exercise, not medical advice.

What is the BMI formula?#

BMI is weight divided by the square of height. The metric version is:

BMI = weight (kg) / height (m)²

So a person who weighs 72 kg and is 1.75 m tall has a BMI of 72 / (1.75 × 1.75) = 72 / 3.0625 = 23.51.

There is also an imperial version for pounds and inches. Because the units are different, it multiplies by a conversion factor of 703:

BMI = 703 × weight (lb) / height (in)²

Both give the same answer for the same person, give or take a small rounding difference.

How to calculate BMI in Excel#

Put each input in its own cell and let the formula do the maths. This sheet uses weight in kilograms and height in centimetres, because that is how most people know their height:

ABCD
1NameWeight (kg)Height (cm)BMI
2Ana72175
3Ben95180
4Chloe50168
5Dev104172
6Ema65160

In D2, type:

Excel formula
=B2/(C2/100)^2

Here is what each part does:

  • C2/100 turns 175 cm into 1.75 m.
  • ^2 squares it. The ^ key is the power operator; =POWER(C2/100,2) does the same thing.
  • The brackets matter. Excel does powers before division, so without them it would square only the 100. Our guide to squares, square roots and powers in Excel explains the order.

The result is 23.5102.... Fill the formula down to D6 (Windows: Ctrl+D; Mac: ⌘D). If you are new to typing formulas, the first formulas lesson covers cell references and operators.

If your heights are already in metres, drop the /100: =B2/C2^2. For pounds and inches, use =703*B2/C2^2. For example, 160 lb and 67 in gives =703*160/67^2, which is about 25.06.

How to round BMI to one decimal place#

Wrap the formula in ROUND so the cell holds one decimal place, the way BMI is usually shown:

Excel formula
=ROUND(B2/(C2/100)^2,1)

The second argument, 1, is the number of decimal places. Filled down, the results are:

NameBMI
Ana23.5
Ben29.3
Chloe17.7
Dev35.2
Ema25.4

Why ROUND and not just the Decrease Decimal button? Formatting only changes what you see. The cell still holds 23.5102, and any formula that reads it uses the full value. ROUND changes the stored value. The ROUND function guide and the article on ROUND, ROUNDUP and ROUNDDOWN explain the difference.

How to add BMI categories with IFS#

IFS tests conditions in order and returns the result for the first one that is true. With the rounded BMI in D2, type this in E2:

Excel formula
=IFS(D2<18.5,"Underweight",D2<25,"Healthy weight",D2<30,"Overweight",TRUE,"Obesity")

These are the widely published adult cut-offs. The World Health Organization uses the same numbers, with slightly different names for some bands:

BMICategory
Below 18.5Underweight
18.5 to 24.9Healthy weight
25.0 to 29.9Overweight
30.0 or moreObesity

Order is the key. Excel stops at the first true test, so the checks go from the lowest cut-off to the highest. Ana's 23.5 fails D2<18.5, passes D2<25 and returns Healthy weight. Ben gets Overweight, Chloe Underweight, Dev Obesity and Ema Overweight. The final TRUE is a catch-all for everything 30 or above.

Base the category on the rounded BMI. A raw value of 24.96 shows as 25.0, so the label should say Overweight, not Healthy weight. Reading the rounded cell keeps the number and the label in agreement.

The IFS function guide and our IFS function article cover the syntax in more depth. Grouping ages into bands works the same way; see the age group formula.

BMI categories with nested IF (Excel 2016 and earlier)#

IFS needs Excel 2019, Excel 2021 or Microsoft 365. In older versions, nest IF functions so each one handles the next band:

Excel formula
=IF(D2<18.5,"Underweight",IF(D2<25,"Healthy weight",IF(D2<30,"Overweight","Obesity")))

It gives exactly the same results. The last IF needs no catch-all because its "false" part, "Obesity", already covers every remaining value. For more on choosing between the two, see how nested IF works. The nested IF and IFS lesson lets you practise both.

You can also use a small lookup table with the lower limit of each band (0, 18.5, 25, 30) and an approximate match. That keeps the cut-offs in cells, where they are easy to check and change, instead of inside a formula.

Make the calculator safer to use#

A few small changes stop the most common input mistakes:

  1. Hide results for empty rows. Use =IF(OR(B2="",C2=""),"",ROUND(B2/(C2/100)^2,1)) so blank rows show nothing instead of #DIV/0!.
  2. Check the unit. If someone types 1.75 in a centimetres column, BMI comes out in the hundreds of thousands. Add a data validation rule under Data > Data Validation that allows only decimals between, say, 100 and 250.
  3. Label the units in the headers, such as "Height (cm)", so nobody has to guess.
  4. Show a healthy weight range. The weights for a BMI of 18.5 to 24.9 are =ROUND(18.5*(C2/100)^2,1) and =ROUND(24.9*(C2/100)^2,1). For 175 cm that is 56.7 kg to 76.3 kg.

Limits of BMI#

BMI is quick to calculate, which is why it is popular, but it is a rough screening tool:

  • It doesn't tell fat from muscle, so very muscular people can show as overweight.
  • The adult categories above don't apply to children and teenagers. They are assessed with BMI-for-age charts.
  • Some health bodies recommend lower cut-offs for some groups, for example people of some Asian backgrounds.
  • It says nothing about where fat is stored, fitness or other health factors.

If a result worries you, talk to a doctor or other health professional rather than relying on a spreadsheet.

Practise it#

Try the exercise on this page: one formula that converts, squares, divides and rounds. Then practise writing formulas in the first formulas lesson, where the sheet checks each answer instantly, and practise IFS and nested IF in a live spreadsheet to build the category column yourself.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Ana weighs 72 kg and is 175 cm tall. In D2, calculate her BMI from B2 and C2, rounded to 1 decimal place, then press Enter.

fx
ABCDE
1
Name
Weight (kg)
Height (cm)
BMI
2
Ana
72
175
3
Ben
95
180
4
Chloe
50
168
5
Dev
104
172
6
Ema
65
160
7
8
9

Tip: Turn centimetres into metres with C2/100, square it with ^2, divide the weight by it, and wrap it all in ROUND(...,1).

Practise this in a lesson

LessonFreeYour first formulasType values, write formulas that start with =, and see how they recalculate.LessonNested IF and IFSHandle more than two outcomes, like letter grades or commission bands, with nested IFs or the cleaner IFS.Function guideROUNDRound to decimals, whole numbers or the nearest thousand with Excel's ROUND. Learn when formatting isn't enough, then practice live.Function guideIFSReplace messy nested IFs with Excel's IFS function. Examples for grades, tiers and SLAs, the catch-all trick, and a live exercise.

Frequently asked questions

What is the formula for BMI in Excel?

+

Divide weight in kilograms by height in metres squared. With weight in B2 and height in metres in C2, type =B2/C2^2. If height is in centimetres, use =B2/(C2/100)^2.

How do I calculate BMI in Excel with pounds and inches?

+

Multiply by 703: =703B2/C2^2, with weight in pounds in B2 and height in inches in C2. If height is in feet and inches, convert it first with =feet12+inches.

How do I add BMI categories in Excel?

+

Use IFS on the BMI cell: =IFS(D2<18.5,"Underweight",D2<25,"Healthy weight",D2<30,"Overweight",TRUE,"Obesity"). In Excel 2016 or earlier, write the same tests as nested IF functions.

Why does my BMI formula give a huge number?

+

Height is probably in centimetres while the formula expects metres. Divide the height by 100 inside the formula, or check that every height uses the same unit.

Can I use an Excel BMI calculator for children?

+

Not with adult categories. Children and teenagers are assessed with BMI-for-age percentile charts, which depend on age and sex. Ask a health professional for those.

Sources

  • ROUND function - Microsoft Support
  • IFS function - Microsoft Support
  • POWER function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 3, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. What is the BMI formula?
  2. How to calculate BMI in Excel
  3. How to round BMI to one decimal place
  4. How to add BMI categories with IFS
  5. BMI categories with nested IF (Excel 2016 and earlier)
  6. Make the calculator safer to use
  7. Limits of BMI
  8. Practise it

Keep reading

Logic· 6 min read

The Excel IFS Function: Cleaner Than Nested IFs

The Excel IFS function checks a list of conditions in order and returns the result paired with the first TRUE one: =IFS(test1, value1, test2, value2, ...). It replaces nested IFs without the brackets. IFS has no "otherwise" result, so end with TRUE and a fallback value. It needs Excel 2019 or later.

Math· 6 min read

Square Roots and Powers in Excel (SQRT, POWER, ^)

To find a square root in Excel, use =SQRT(A2), so =SQRT(16) returns 4. For powers, use the caret: =A2^2 squares a number and =A2^3 cubes it. POWER does the same: =POWER(A2,2). For other roots, raise to a fraction, such as =A2^(1/3) for a cube root. SQRT of a negative number returns #NUM!.

Math· 6 min read

How to Round Numbers in Excel (ROUND, ROUNDUP, ROUNDDOWN)

Use =ROUND(number, digits) to round to a set number of decimal places, so =ROUND(B2,2) turns 3.4567 into 3.46. ROUNDUP always rounds away from zero and ROUNDDOWN always rounds towards zero, using the same two arguments. Unlike number formatting, these functions change the stored value that later formulas use.

More on math

  • How to Calculate Burn Rate and Cash Runway in Excel
  • CAGR Formula in Excel: Compound Annual Growth Rate
  • How to Calculate Discounts and Sale Prices in Excel
  • How to Calculate a Ratio in Excel
  • How to Calculate Tax and Prices With Tax in Excel
  • How to Run a Chi-Square Test in Excel With CHISQ.TEST
All math articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free