Sine, cosine, and tangent convert angles into right-triangle side ratios, so an angle becomes a slope the moment you apply tan(θ) — for example, 30° produces a slope of about 0.577 (rise over run) or 57.74% grade. The catch is that tan() in nearly every calculator, spreadsheet, and programming language expects its input in radians, not degrees. That single detail is what makes "convert angle to slope" feel harder than it is: you do the unit conversion first, then run the tangent. A free Angle Converter handles the degree-to-radian step with exact factors, so all you have to do is plug the resulting radian value into tan() on whatever tool you already use. This guide walks through the underlying formula, the unit step, a worked example, and the practical situations where this conversion matters.

how to convert angle to slope
how to convert angle to slope

What Slope Actually Means When You Start From an Angle

Slope is the steepness of a line or surface, expressed as the vertical change divided by the horizontal change — the classic "rise over run." When you already know the angle that line makes with the horizontal, slope is hiding inside that angle: it is the tangent of the angle. A 45° line rises as much as it runs, so its slope is 1, or 100% grade, or a 1:1 ratio. A shallow 5° line barely rises at all, giving a slope near 0.0875, or about 8.75% grade, or roughly a 1:11.4 ratio. Same tilt, three different ways to write it.

Three formats show up everywhere:

  • Ratio (unitless): rise/run as a decimal — 0.577 for 30°.
  • Percent grade: the same decimal multiplied by 100 — 57.74% for 30°.
  • Run-to-rise ratio (e.g. 1:1.73): how far you must travel horizontally for every unit of vertical rise, common in roof pitch and road design.

All three describe the same geometry; only the formatting changes. The math that links them is the tangent function, which is why "angle to slope" reduces to a unit conversion plus one button press.

The Trigonometry Behind the Conversion

The relationship is fixed: slope = tan(θ), where θ is the angle measured from the horizontal. Take any right triangle: the side opposite the angle is the rise, the side adjacent is the run, and the tangent is by definition opposite over adjacent, which is exactly rise over run, which is slope. There is no approximation here — it is the geometric definition of tangent.

The piece most people miss is that the trigonometric functions on calculators and in software expect radians. If you type tan(30) into Excel without converting first, you get roughly −6.405, because the spreadsheet assumes 30 radians (about 1,719°). The exact factor that fixes this is:

  • Degrees to radians: radians = degrees × π / 180
  • Radians to degrees: degrees = radians × 180 / π
  • 1 radian ≈ 57.2958°

So the full pipeline from angle to slope is: convert degrees → radians using π/180, then apply tan(). The Angle Converter performs that first step with the exact π/180 factor, so the second step is a one-line calculation on your end.

Convert the Angle First Using the Angle Converter

Before you can take the tangent, your angle has to be in radians. The fastest path is to let the Angle Converter do that exact conversion. Here is the step-by-step:

  1. Type the angle you want to convert into the Value field — decimals and negative numbers are allowed, so values like 33.5 or −12 work the same as whole numbers.
  2. Choose the source unit under "From" — pick Degrees if your angle is in degrees, since that is the most common input.
  3. Choose the target unit under "To" — pick Radians for this conversion, because the tangent function on most calculators expects radians.
  4. Use the Swap control to reverse the units if you later need to go from radians back to degrees.
  5. Read the converted result instantly, plus a table showing the same angle in every unit at once (degrees, radians, gradians, turns, arcminutes, and arcseconds).

Once the radian value is in hand, you can finish the conversion to slope on any device — a scientific calculator, a spreadsheet, or even a quick mental approximation. The tool does the angle-unit work; the tangent does the slope work.

Worked Example: 30 Degrees to Slope

To show the full pipeline, convert 30° into slope using the documented factor and the tangent function.

Step 1 — convert degrees to radians. Multiply by π/180:

30 × π / 180 = 30 × 3.14159265 / 180 = 94.2478 / 180 = 0.52359878 radians

Step 2 — apply tan(). The tangent of 0.52359878 radians is:

tan(0.52359878) = 0.57735027

Step 3 — express the slope in any format.

  • Ratio: 0.5774 (rise/run)
  • Percent grade: 57.74%
  • Run-to-rise: 1 : 1.732 (a common roof pitch reference)

If you use the Angle Converter first, the radian value comes out rounded to about eight significant figures (0.52359878), which is enough precision to match the example. For everyday construction and design work, four significant figures (0.5774) are usually plenty.

Angle Unit Reference for Slope Conversions

The conversion factors between angle units are fixed and exact, so they are worth keeping on hand for spot checks and for sanity-testing any tool you use:

UnitSymbolRelation to a full circleUsed in
Degree°360° per turnNavigation, geometry, everyday angles
Radianrad2π rad per turn (≈ 6.2832)Math, physics, engineering formulas
Gradian (gon)gon400 gon per turnSurveying, geodesy, civil engineering
Turn (revolution)tr1 tr per turnGears, RPM, periodic motion
Arcminute'21,600 per turnAstronomy, optics, GPS
Arcsecond"1,296,000 per turnTelescope resolution, fine astronomy

For slope work specifically, you will almost always start from degrees (because slopes are reported alongside degree measurements like roof pitch or road grade) and end in radians (because tan() expects them). The other units are useful when an input or reference uses them — for example, a surveyor may quote a bearing in gradians that still needs to become a percent grade for a contractor.

Where This Conversion Shows Up in Real Work

Several everyday tasks reduce to "convert this angle into a slope":

  • Roof pitch. Builders describe pitch as "rise over 12 inches," which is the percent-grade form. A 6:12 pitch is 26.57° and a 50% grade.
  • Ramp and wheelchair access. Accessibility codes typically cap ramps at about 4.8° (a 1:12 ratio, or 8.33% grade).
  • Road and railway grade. Highways rarely exceed 6–8% grade, which corresponds to roughly 3.4° to 4.6°.
  • Civil engineering and grading plans. Cut-and-fill work often expresses slope as a ratio (e.g. 2:1) that has to come from an angle in a design file.

In every case the math is identical: angle → radians → tan() → slope. Once the radian value is in front of you — and the Angle Converter produces it from any of the six supported units — the slope is one tangent call away.

Tips for Reliable Angle-to-Slope Conversions

A few habits keep the numbers trustworthy. First, always confirm the units your tangent function expects: spreadsheets and most programming libraries use radians; some scientific calculators have a DRG button or mode toggle that lets you choose. Second, watch for negative angles, which are valid and represent rotation in the opposite direction — tan(−30°) is −0.5774, indicating a downward slope. Third, results are typically displayed to about eight significant figures, which is more than enough for design and engineering work; very large or very small angles will switch to scientific notation rather than overflowing the display. Fourth, because the tool runs entirely in the browser, your input never leaves the page, so you can use it on sensitive design files without an upload step. Finally, for a sanity check, remember that 45° always maps to a slope of exactly 1 (100% grade) and that 0° maps to a slope of 0 — if your answer disagrees with those anchors, the unit conversion is the most likely culprit.