Simplify Your Workflow: Search MiniWebtool.
Add Extension
Home Page > Math > Geometry Calculators > Slope Calculator

Slope Calculator

Calculate slope, gradient, angle, and line equation from two coordinate points. Features interactive graph visualization, step-by-step solutions, and multiple output formats.

Slope Calculator
Point 1 (x₁, y₁)
Point 2 (x₂, y₂)

Embed Slope Calculator Widget

About Slope Calculator

The Slope Calculator helps you find the slope (gradient) of a line passing through two points. Enter any two coordinate points, and this calculator instantly computes the slope in multiple formats (decimal, fraction, percentage, and angle), generates an interactive graph showing the rise and run, and provides a detailed step-by-step solution.

What is Slope?

Slope (also called gradient) measures the steepness and direction of a line. It represents the rate of change - how much the y-value changes for each unit change in the x-value. Slope is a fundamental concept in algebra, calculus, physics, engineering, and many real-world applications.

The Slope Formula

Slope Formula (Rise over Run)
$$m = \frac{\text{Rise}}{\text{Run}} = \frac{y_2 - y_1}{x_2 - x_1} = \frac{\Delta y}{\Delta x}$$

Where:

Types of Slopes

Understanding slope types helps visualize how a line behaves on a coordinate plane:

Positive Slope
Line rises from left to right. Both variables increase together.
Negative Slope
Line falls from left to right. As x increases, y decreases.
Zero Slope
Horizontal line. The y-value stays constant (no rise).
Undefined Slope
Vertical line. The x-value stays constant (no run).

How to Use This Calculator

  1. Enter Point 1: Input the x and y coordinates of your first point (x₁, y₁).
  2. Enter Point 2: Input the x and y coordinates of your second point (x₂, y₂).
  3. Set Precision: Choose how many decimal places you want in the results.
  4. Calculate: Click the calculate button to see the slope and all related values.
  5. Review Results: Examine the interactive graph, slope in multiple formats, and step-by-step calculation.

Understanding the Results

Slope Formats

Line Equations

Additional Calculations

Practical Applications of Slope

Construction and Architecture

Slope is crucial for designing ramps, roofs, and drainage systems. ADA guidelines specify maximum slopes for wheelchair ramps. Roof pitch is measured as rise over run.

Roads and Transportation

Highway grades are expressed as percentages (slope × 100). A 6% grade means the road rises 6 feet for every 100 feet of horizontal distance.

Economics and Business

The slope of a demand curve shows how price changes affect quantity demanded. Marginal cost and marginal revenue are slopes of cost and revenue functions.

Physics and Engineering

Velocity is the slope of a position-time graph. Acceleration is the slope of a velocity-time graph. Electrical resistance can be found from the slope of a voltage-current graph.

Frequently Asked Questions

What is slope in mathematics?

Slope (also called gradient) is a measure of the steepness of a line. It represents the rate of change between two points, calculated as the ratio of vertical change (rise) to horizontal change (run). The formula is m = (y₂ - y₁) / (x₂ - x₁), where m is the slope and (x₁, y₁), (x₂, y₂) are two points on the line.

What does a positive slope mean?

A positive slope indicates that the line rises from left to right. As x increases, y also increases. The larger the positive slope value, the steeper the line rises. For example, a slope of 2 means the line rises 2 units for every 1 unit it moves to the right.

What does a negative slope mean?

A negative slope indicates that the line falls from left to right. As x increases, y decreases. The larger the absolute value of a negative slope, the steeper the line falls. For example, a slope of -3 means the line falls 3 units for every 1 unit it moves to the right.

When is slope undefined?

Slope is undefined when the line is vertical, meaning both points have the same x-coordinate. In this case, the run (horizontal change) is zero, and division by zero is undefined. A vertical line has the equation x = constant.

What is zero slope?

Zero slope means the line is horizontal - it neither rises nor falls. Both points have the same y-coordinate, so the rise is zero. A horizontal line has the equation y = constant, and its slope is always 0.

How do I convert slope to angle?

To convert slope to angle, use the arctangent function: angle = arctan(slope). The result is in radians; multiply by (180/π) to get degrees. For example, a slope of 1 corresponds to 45 degrees, because arctan(1) = 45°.

Related Calculators

Reference

Reference this content, page, or tool as:

"Slope Calculator" at https://MiniWebtool.com/slope-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 16, 2026

You can also try our AI Math Solver GPT to solve your math problems through natural language question and answer.

Related MiniWebtools:

Geometry Calculators:

Top & Updated:

Random PickerRandom Name PickerRelative Standard Deviation CalculatorMAC Address GeneratorFPS ConverterMAC Address LookupSort NumbersFeet and Inches to Cm ConverterRandom Quote GeneratorRemove SpacesWord to Phone Number ConverterLine CounterSum CalculatorPercent Off CalculatorBitwise CalculatorNumber of Digits CalculatorBatting Average CalculatorRoman Numerals ConverterFacebook User ID LookupLog Base 10 CalculatorSHA256 Hash GeneratorSalary Conversion CalculatorVideo to Image ExtractorSaturn Return CalculatorPhone Number ExtractorSquare Root (√) CalculatorDecimal to BCD ConverterAI Punctuation AdderSun, Moon & Rising Sign Calculator 🌞🌙✨Remove AccentBinary to Gray Code ConverterERA CalculatorCm to Feet and Inches ConverterMP3 LooperBCD to Decimal ConverterCompound Growth CalculatorRemove Audio from VideoAI ParaphraserPercent Growth Rate CalculatorRandom Birthday GeneratorRemove Lines Containing...Quotient and Remainder CalculatorTime Duration CalculatorDay of Year CalendarProportion CalculatorFirst n Digits of PiGray Code to Binary ConverterOutlier CalculatorText FormatterLove Compatibility CalculatorModulo CalculatorMaster Number CalculatorCompare Two StringsPercentage Increase CalculatorList of Prime NumbersMerge VideosNumber to Word ConverterBinary to BCD ConverterLeap Years ListAudio SplitterIP Address to Hex Converter📅 Date CalculatorHex to BCD ConverterScientific Notation to Decimal ConverterPER CalculatorAdd or Replace Audio in VideoHypotenuse CalculatorRatio to Percentage CalculatorFraction CalculatorVideo CompressorRemove Leading Trailing SpacesRandom Group GeneratorNumber ExtractorMultiplication CalculatorLog Base 2 CalculatorBCD to Binary ConverterInvisible Text GeneratorAverage Deviation CalculatorName Number CalculatorPythagorean Theorem CalculatorASCII Art GeneratorRandom Number PickerBreak Line by CharactersMedian CalculatorNatural Log CalculatorAdd Prefix and Suffix to TextAmortization CalculatorOctal ConverterOn Base Percentage CalculatorAdjust Video SpeedBonus CalculatorSlugging Percentage CalculatorDay of the Year Calculator - What Day of the Year Is It Today?Exponents CalculatorSHA512 Hash GeneratorStandard Error CalculatorRandom Object GeneratorActual Cash Value CalculatorAngel Number CalculatorVideo SplitterURL ExtractorMaze GeneratorOctal CalculatorEmail ExtractorOPS CalculatorWHIP CalculatorSort Lines AlphabeticallyLottery Number GeneratorBCD to Hex ConverterList RandomizerAverage CalculatorPVIFA CalculatorReverse VideoWAR CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence ExpanderLbs to Kg ConverterHex to Decimal ConverterConvolution CalculatorMAC Address AnalyzerRandom String GeneratorMarkup CalculatorPVIF CalculatorDecimal to Hex ConverterList of Fibonacci NumbersBlood Donation Time CalculatorAntilog CalculatorField Goal Percentage CalculatorRandom Line PickerAPY to APR CalculatorSort Text By LengthOne Rep Max (1RM) CalculatorName RandomizerRandom Animal GeneratorSquare Numbers ListFixed Deposit CalculatorPPM to Percent ConverterCube Numbers ListCaesar Cipher ToolMorse Code GeneratorPercent to PPM ConverterSRT to TXT Converterkg to lbs ConverterXML ValidatorArithmetic Mean CalculatorJob FinderCAGR CalculatorStatistics CalculatorSRT Time ShiftFirst n Digits of eFVIFA Calculator (High Precision)Exponential Integral CalculatorLoop VideoMD5 Hash GeneratorSHA1 Hash GeneratorRandom Name GeneratorIs it a Prime Number?Binary CalculatorDiscount Factor CalculatorDecimal to Binary ConverterExponential Decay CalculatorStandard Deviation CalculatorDoubling Time CalculatorBarcode GeneratorWork Hours CalculatorCM to Inches ConverterAudio ExtractorExponential Growth Calculator (High Precision)Quote FinderHEX CalculatorPopulation Standard Deviation CalculatorRandom Word GeneratorAdd Watermark to VideoRotate VideoVideo CropperFlip VideoFlip GIFFlip ImageInches to cm ConverterIP Address to Binary ConverterReduce Fractions CalculatorGIF to MP4 ConverterMP4 to GIF ConverterColor InverterAdd Text to ImageImage EnhancerImage SplitterImage Color PickerAdd Line to ImagePalette GeneratorpH CalculatorMolar Mass CalculatorReverse LineMolarity CalculatorAngle ConverterWeight (Mass) ConverterLength ConverterVolume ConverterPressure ConverterEnergy ConverterShoe Size ConverterSpeed ConverterTemperature ConverterPower ConverterImage RotatorHousing Appreciation CalculatorCar Depreciation CalculatorHome Affordability CalculatorDestiny Number CalculatorMortgage Comparison CalculatorCompound Savings CalculatorIRR CalculatorImage CensorImage CompressorFuture Value Factor (FVIF) CalculatorUltimate Frequency & Wavelength Convertern-th Root Calculator (High-Precision)Cron Job GeneratorUnix Permission Calculator (chmod)Venus Sign Calculator (Love Style) 💖Mars Sign CalculatorPassword Strength TesterMercury Sign CalculatorAstrological Element Balance CalculatorAstrological Modality Balance CalculatorMercury Retrograde Calendar 🌟New Moon & Full Moon CalendarAdvanced Zodiac Compatibility Analyzer 💞Moon Sign Compatibility Calculator 🌙Celtic Tree Zodiac Calculator 🌳Birthstone and Zodiac Flower Finder 💎🌸Concrete Calculator 🧱Brick and Mortar Calculator 🧱Paint Calculator 🎨Tile Calculator 🔲Flooring Calculator 🏠Drywall Calculator 🧱Wallpaper Calculator 🎨Stair Calculator 🪜Roof Pitch and Rafter Calculator 🏠Roofing Calculator 🏠Stud Wall Framing Calculator 🏗️Mulch, Soil, and Gravel Calculator 🌱Fence Calculator 🏡Decking Calculator 🏗️Board Foot Calculator 🪵Squareness Checker (3-4-5 Rule) 📐Miter Angle Calculator 📐Slope and Grade Calculator 📐Sine CalculatorCosine CalculatorHigh-Precision Tangent CalculatorArcsin CalculatorArccos (Inverse Cosine) CalculatorArctan CalculatorArctan2 CalculatorCosecant/Secant/Cotangent CalculatorHyperbolic Functions CalculatorRight Triangle CalculatorGeneral Triangle SolverLaw of Sines CalculatorLaw of Cosines CalculatorDMS to Decimal Degrees ConverterDecimal Degrees to DMS ConverterHigh-Precision Polar to Cartesian Coordinates ConverterHigh-Precision Cartesian to Polar Coordinates ConverterInteractive Unit Circle VisualizerTrigonometric Identities CalculatorTrigonometric Function GrapherAlgebraic Expression SimplifierRadical SimplifierRational Expression CalculatorPolynomial Factoring CalculatorExpand Polynomials CalculatorPolynomial Long Division CalculatorSynthetic Division CalculatorLinear Equation SolverAbsolute Value Equation SolverRadical Equation SolverSystem of Linear Equations SolverInequality SolverAbsolute Value Inequality SolverSystem of Inequalities GrapherFunction GrapherDomain and Range CalculatorInverse Function CalculatorFunction Composition CalculatorVertex and Axis of Symmetry CalculatorX and Y Intercept CalculatorHTML Entity Encoder/DecoderURL Slug GeneratorJSON String Escape/UnescapeMarkdown Table GeneratorSmart Quotes RemoverDaily Time Savings CalculatorLorem Ipsum GeneratorReadability Score CalculatorKeyword Density CheckerBionic Reading ConverterText to Speech ReaderFancy Text GeneratorZalgo Text GeneratorUpside Down Text GeneratorList Difference CalculatorText Column ExtractorText to SQL List ConverterInvisible Character RemoverStock Average CalculatorPosition Size CalculatorMargin Call CalculatorShort Selling Profit CalculatorRisk of Ruin CalculatorBlack-Scholes Option Pricing CalculatorOption Greeks CalculatorImplied Volatility CalculatorOptions Profit CalculatorImpermanent Loss CalculatorCrypto Arbitrage CalculatorSatoshi to USD ConverterCrypto Leverage CalculatorPivot Point Calculator