Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.42 KB

File metadata and controls

33 lines (22 loc) · 1.42 KB

Temperature Conversion Tool

This is a simple web-based temperature conversion tool that allows you to convert temperatures between Celsius (C), Fahrenheit (F), and Kelvin (K). You can input a temperature value in one unit, and the tool will calculate and display the equivalent temperatures in the other two units.

How to Use

  1. Enter a temperature value in one of the input fields.
  2. Click the "Convert" button to calculate and display the equivalent temperatures in the other two units.
  3. If you want to reset the input fields, click the "Reset" button.

Temperature Conversions

Celsius to Fahrenheit and Kelvin

  • To convert from Celsius (C) to Fahrenheit (F), the formula is: F = (C * 9/5) + 32
  • To convert from Celsius (C) to Kelvin (K), simply add 273.15: K = C + 273.15

Fahrenheit to Celsius and Kelvin

  • To convert from Fahrenheit (F) to Celsius (C), the formula is: C = (F - 32) * 5/9
  • To convert from Fahrenheit (F) to Kelvin (K), use the following formula: K = (F - 32) * 5/9 + 273.15

Kelvin to Celsius and Fahrenheit

  • To convert from Kelvin (K) to Celsius (C), simply subtract 273.15: C = K - 273.15
  • To convert from Kelvin (K) to Fahrenheit (F), use the formula: F = (K - 273.15) * 9/5 + 32

Example

  • Input Celsius: 25.00
  • Click "Convert"
  • Result: Fahrenheit: 77.00, Kelvin: 298.15

License

This project is available under the MIT License.