Step by step
- In Excel or Google Sheets, click the target cell and type =A1*9/5+32 (assuming your Celsius number is in A1), or use the built-in =CONVERT(A1,"C","F").
- In Python, define a simple function or one-liner: f = (c * 9 / 5) + 32.
- In JavaScript, write: const f = (c * 9) / 5 + 32;
- Enter a known value like 25 °C into the converter on this page to verify your code outputs 77 °F.
At a glance
| Environment | Celsius to Fahrenheit | Fahrenheit to Celsius |
|---|---|---|
| Excel / Sheets | =A1*9/5+32 | =(A1-32)*5/9 |
| Excel CONVERT | =CONVERT(A1,"C","F") | =CONVERT(A1,"F","C") |
| Python / JavaScript | (c * 9 / 5) + 32 | (f - 32) * 5 / 9 |
Related questions
What is the Excel CONVERT function for temperature?
Use =CONVERT(A1,"C","F") for Celsius to Fahrenheit, and =CONVERT(A1,"F","C") for Fahrenheit to Celsius. Both Excel and Google Sheets support "C", "F", and "K" for Kelvin.
How do I convert Celsius to Fahrenheit in Python?
Multiply by 9/5 and add 32: fahrenheit = (celsius * 9 / 5) + 32. In Python 3, 9 / 5 automatically performs floating-point division, so you get accurate decimals.
Should I use 1.8 or 9/5 in my code?
Both give the exact same result. Using 1.8 is slightly shorter, while 9/5 makes the fraction explicit and easy to read.
More questions: celsius to fahrenheit converter
- How to Convert Celsius to Fahrenheit
- How to Convert Fahrenheit to Celsius
- Easy Way to Convert Celsius to Fahrenheit
- Celsius to Fahrenheit Chart for Weather, Fever, and Oven
- Why Is -40 Celsius and Fahrenheit the Same?
- Celsius vs Fahrenheit: What Is the Difference?
- What Is 18 Degrees Celsius in Fahrenheit?
- What Is −20 Celsius in Fahrenheit?
- How Do Celsius, Fahrenheit and Kelvin Relate?
- How to Change Celsius to Fahrenheit in Your Weather App
- How Much Is 1 Degree Celsius in Fahrenheit?
- What Is 200 Celsius to Fahrenheit?
- 100 Fahrenheit to Celsius: Is It a Fever?
Open the full celsius to fahrenheit converter →
Updated November 14, 2026.