VOOZH about

URL: https://apify.com/moving_beacon-owner1/my-actor-5

โ‡ฑ BMI Calculator ยท Apify


Pricing

from $1.00 / 1,000 results

Go to Apify Store

A simple and efficient tool to calculate **Body Mass Index (BMI)** using metric or imperial units. Designed for developers, data pipelines, and health-related applications.

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 months ago

Last modified

Share

โš–๏ธ BMI Calculator

A simple and efficient tool to calculate Body Mass Index (BMI) using metric or imperial units. Designed for developers, data pipelines, and health-related applications.


๐Ÿš€ Features

  • ๐Ÿ“ Supports metric (kg/cm) and imperial (lbs/inches) units
  • โšก Fast and accurate BMI calculation
  • ๐Ÿง  Optional inputs: age and gender for extended insights
  • ๐Ÿ›ก๏ธ Input validation with strict schema
  • ๐Ÿ”Œ Easy integration into APIs, scripts, and automation workflows

๐Ÿ“ฅ Input Schema

FieldTypeRequiredDescription
weightnumberโœ… YesBody weight (kg or lbs based on unit)
heightnumberโœ… YesHeight (cm or inches based on unit)
unitstringโŒ Nometric (default) or imperial
agenumberโŒ NoOptional age in years
genderstringโŒ NoOptional: male or female

โš™๏ธ How It Works

๐Ÿ“Š BMI Formula

  • Metric:
BMI=weight(kg)/(height(m))ยฒ
  • Imperial:
BMI=703 ร— weight(lbs)/(height(in))ยฒ

๐Ÿงฎ Example

Input

{
"weight":70,
"height":175,
"unit":"metric"
}

Output

{
"bmi":22.86,
"category":"Normal weight"
}

๐Ÿ“Š BMI Categories

BMI RangeCategory
< 18.5Underweight
18.5 โ€“ 24.9Normal weight
25 โ€“ 29.9Overweight
โ‰ฅ 30Obese

๐Ÿ—๏ธ Use Cases

  • Health and fitness apps
  • API-based BMI services
  • Data analysis pipelines
  • Web or mobile applications
  • Automation tools (Apify actors, etc.)

โšก Notes

  • Height is automatically converted to meters when using metric
  • age and gender are optional and do not affect BMI calculation directly
  • Ensure valid numeric inputs for accurate results

๐Ÿ› ๏ธ Example Logic (Pseudo Code)

if unit =="metric":
height_m = height /100
bmi = weight /(height_m **2)
else:
bmi =703* weight /(height **2)

๐Ÿ“„ License

MIT License

You might also like

Loan & Interest Calculator

moving_beacon-owner1/my-actor-24

A simple and powerful tool to calculate **loan payments, interest, and schedules** with optional extra payments and compound interest.

3

Similar App Store Applications Finder

easyapi/similar-app-store-applications-finder

An essential tool for discovering related applications based on user purchasing behavior. With customizable query options and detailed data retrieval, it enhances the app discovery experience for both developers and users! ๐ŸŒŸ

Related articles

12 open-source LangChain alternatives
Read more
Best web scraping APIs
Read more
The 12 best web scraping tools for 2026
Read more