Recovering the Fahrenheit formula by regression

Five Celsius points, one least-squares fit, and the card answers y = 1.8x + 32 with r = 1.

Statistics and data · Level: Classroom · Updated on 2026-11-10

Feed the statistics calculator the pairs (0, 32), (5, 41), (10, 50), (15, 59), (20, 68) — Fahrenheit readings of five Celsius points — and the regression card prints y = 1.8x + 32 with Correlation r 1. The fit is perfect because the relation is exactly affine and the numbers were never noisy: this is the tool recovering a definition, not discovering a trend.

The slope is the ratio of the scales — 180 Fahrenheit degrees spanning what 100 Celsius degrees span, 180/100 = 1.8 — and the intercept 32 is how far apart the two zero points sit. Put 0 and 100 into the temperature converter and it answers 32 °F and 212 °F: the same line, read as a formula instead of fitted from data.

Answer

y = 1.8x + 32

How to read it

The regression card's own line: Intercept a 32, Slope b 1.8, Correlation r 1, r² 1.

Source

The 180:100 ratio of the two scales fixes the slope at 9/5; the least-squares method is Legendre (1805) and Gauss (1809)

Work it in the calculator

These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.