Skip to main content
Mathematics LibreTexts

1.32: Slope

  • Page ID
    153136
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    two houses built on a street that slopes down to the left
    This section of Kearney Street in San Francisco is too steep for a sidewalk and has stairs instead. Photo by Marcus Lenk on Unsplash.

    You may use a calculator throughout this module.

    The slope of a surface is a measure of its steepness. In some cases, such as a walkway or ramp or street, a shallow slope is safer than a steep slope. In other cases, such as a roof, a steep slope may be preferred because it allows rainwater or accumulated snow to move off the roof surface more easily than a shallow slope.[1]

    We will first look at slope in terms of vertical and horizontal distances, and we will then look at slope in terms of angles. Come on, let’s hit the slopes!

    Slope as a Ratio

    Slope is defined as the ratio of the vertical rise to the horizontal run.

    a right triangle with southwest angle marked, south leg marked 'horizontal run' and east leg marked 'vertical rise (positive)' another right triangle with southeast angle marked, south leg marked 'horizontal run' and west leg marked 'vertical rise (negative)'; marked angle below a dashed line that extends horizontally east from northwest corner of triangle

    \(\text{slope}=\dfrac{\text{vertical rise}}{\text{horizontal run}}\)
    • A line that is increasing in height has a positive slope.
    • A line that is decreasing in height has a negative slope.[2]
    • The slope of a horizontal line is 0; it is not increasing or decreasing.

    A slope may be expressed as a ratio, a decimal, or a percent grade. For example, consider this loading ramp with a vertical rise of 23.5 inches and a horizontal run of 132 inches.

    right triangle with horizontal leg marked 132 inches and vertical leg marked 23.5 inches

    As a ratio, the slope is 23.5 : 132. Dividing the rise by the run gives a decimal value of approximately 0.18. Moving the decimal point two places to the right gives a grade of approximately 18%.

    Exercises

    Express each slope in three ways: as a ratio, a decimal, and a percent grade.

    1. right triangle with horizontal leg marked 12 and vertical leg marked 0.36
      (This is the preferred maximum slope for sidewalks.)
    2. right triangle with horizontal leg marked 12 and vertical leg marked 0.60
      (This is the maximum allowed slope for sidewalks.)[3]
    3. right triangle with horizontal leg marked 12 and vertical leg marked 1.00
      (This is the maximum allowed slope for ADA-accessible ramps.)[4]
    4. right triangle with horizontal leg marked 12 and vertical leg marked 2.16
      (This is the preferred maximum slope for open pit mines.)

    Slope as an Angle

    The steepness of a line may also be described by its angle of elevation above the horizontal (or its angle of depression below the horizontal).

    right triangle with southwest angle marked theta, south horizontal leg marked 'run' and east vertical leg marked 'rise'

    Notice that the vertical rise is the side opposite the angle, and the horizontal run is the side adjacent to the angle. Therefore, trigonometry tells us that \(\text{tangent}=\dfrac{\text{opposite}}{\text{adjacent}}=\dfrac{\text{rise}}{\text{run}}\). The tangent of the angle is equal to the slope.

    \(\text{tan }\theta=\dfrac{\text{rise}}{\text{run}}\)

    Or, thinking about it in reverse, the inverse tangent of the slope is the angle.

    \(\text{tan}^{-1}\left(\dfrac{\text{rise}}{\text{run}}\right)=\theta\)
    Exercises

    Determine the angle of elevation for each slope. Round to the nearest hundredth of a degree.

    1. right triangle with horizontal leg marked 12 and vertical leg marked 0.36
    2. right triangle with horizontal leg marked 12 and vertical leg marked 0.60
    3. right triangle with horizontal leg marked 12 and vertical leg marked 1.00
    4. right triangle with horizontal leg marked 12 and vertical leg marked 2.16

    For proper drainage, the ground around a building should slope downwards, away from the building.

    1. The minimum downward grade of the ground is 1%. Assuming this grade, if a point on the ground is 50 feet horizontally from the base of the house, how much lower is the ground at that point?
    2. The preferred minimum downward grade of the ground is 2%. Assuming this grade, if a point on the ground is 50 feet horizontally from the base of the house, how much lower is the ground at that point?
    3. The maximum acceptable downward grade of the ground is 10%. Assuming this grade, if a point on the ground is 50 feet horizontally from the base of the house, how much lower is the ground at that point?

    1. A motion sensor needs to be installed on the outside of a warehouse door 12 feet above the ground. The sensor should go off if anyone approaching the warehouse gets within 20 feet of the door. What angle from vertical should the sensor point away from the building to detect someone at the appropriate distance from the warehouse? Round your answer to the nearest degree.
    2. A ramp is being constructed to the entrance to a public building that is 2.5 feet higher than the level courtyard in front of the entrance. Assuming that the ramp will be continuous with no switchbacks or level platforms,[5] what is the minimum horizontal distance required for the ramp so that it will comply with ADA regulations?
    man with white beard in wheelchair on paved forest path
    Photo by Forest Service Pacific Northwest Region on flickr.

    1. Source: https://www.nachi.org/roof-slope-pitch.htm
    2. We won't worry about negative slopes in this textbook, because we can always express a negative slope using a word like "decrease", "decline", or "depression" in combination with a positive number.
    3. Source: https://www.ada-compliance.com/ada-compliance/403-walking-surfaces
    4. Source: https://www.ada-compliance.com/ada-compliance/405-ramps
    5. If you were curious, this is the maximum rise allowed for this situation; a rise of more than 2.5 feet would require a switchback or a level platform.

    1.32: Slope is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?