Skip to content

mxavier-dev/bmi-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

โš–๏ธ BMI Calculator

A desktop application to calculate Body Mass Index (BMI) developed in Python using the Tkinter library. This project features a dynamic UI that provides real-time health classifications based on user input.

๐Ÿš€ Features

  • Accurate Calculation: Computes BMI using the formula: weight / (heightยฒ) .
  • Dynamic Visual Feedback: Results are color-coded (Green, Yellow, Orange, Red) according to BMI categories.
  • Input validation: Ensures only valid numbers are entered.
  • Smart Input Handling:
    • Automatically replaces commas with dots for decimal values.
    • Robust error handling for invalid entries (letters or empty fields).
  • Interactive UI:
    • Integrated BMI reference table.
    • Keyboard shortcut: Press Enter to calculate immediately.

๐Ÿ› ๏ธ Technologies

  • Python 3
  • Tkinter (Graphical User Interface)

๐Ÿ“ธ Preview

screenshot
Main interface of the bmi calculator

๐Ÿ“– Code

If you want the code to study or modify something, run this command in your terminal. Have fun

git clone https://github.com/mxavier-dev/bmi-calculator

๐Ÿ“ซ Contact

Developed by Matheus de Freitas Xavier โ€ข Linkedin Profile

About

A BMI Calculator built with Python and Tkinter. Features dynamic color feedback, error handling, and multi-language support (EN/PT-BR).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages