Skip to content
UniKit

Digital protractor & slope calculator

Turn a tilt reading into roof slope (percent and 1:n), deviation from vertical and an A→B differential, with a zero reference and configurable rounding — all computed locally.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Separate readings with commas, spaces or newlines; up to 32 values. The first is the primary reading, the second gives the A→B differential.

Converted readings

Tilt is measured from the horizontal plane; a vertical surface reads 90°. Read the device sensor in your phone app and paste the values here.

Enter a tilt reading to see the slope conversion

What this tool does

  • Convert a tilt reading into the slope percentage and 1:n ratio used by carpenters and roofers
  • Zero the instrument on a reference surface first, then measure points A and B to get a differential
  • Check how far a wall deviates from vertical

Example

Input

30,32

Output

Readings: 2
Zero reference: 0°
Angle: 30°
A→B difference: 2°
Roof slope: 57.74% (rise ÷ run × 100)
Slope ratio: 1:1.73
Deviation from vertical: 60°
Slope band: Medium (typical pitched roof)

Readings 30° and 32°: primary tilt 30°, A→B differential 2°, tan(30°) = 0.5774 gives a 57.74% slope and a 1:1.73 ratio, and 60° away from vertical.

Frequently asked questions

How is tilt defined?

The reading is the angle between the measured surface and the horizontal plane: 0° is horizontal and 90° is vertical. Deviation from vertical is therefore |90 - |tilt||. If your instrument reads relative to a vertical surface, zero it first.

What do the slope percentage and 1:n mean?

Slope percent = tan(tilt) × 100, i.e. rise divided by run. The 1:n form is common in construction, with n = 1 / tan(tilt). Beyond 60° the percentage grows steeply, so the tool then suggests describing the deviation from vertical instead.

Does the tool read the phone gyroscope?

No. Reading device orientation requires user permission, which this site never requests, and no sensor or network access happens. Read the value in your phone sensor app or level and paste it here for the maths.

Keywords:protractorroof slopetilt

Related tools