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 Name PickerRandom PickerLine CounterRelative Standard Deviation CalculatorFPS ConverterBatting Average CalculatorSort NumbersMAC Address GeneratorRemove SpacesMAC Address LookupERA CalculatorWord to Phone Number ConverterFeet and Inches to Cm ConverterInstagram User ID LookupSum CalculatorSaturn Return CalculatorFacebook User ID LookupPercent Off CalculatorBitwise CalculatorSHA256 Hash GeneratorLog Base 10 CalculatorRandom Quote GeneratorNumber of Digits CalculatorSquare Root (√) CalculatorFirst n Digits of PiRandom Truth or Dare GeneratorAI ParaphraserOn Base Percentage CalculatorRoman Numerals ConverterSalary Conversion CalculatorSlugging Percentage CalculatorMP3 LooperRandom IMEI GeneratorTwitter/X Timestamp ConverterCm to Feet and Inches ConverterPhone Number ExtractorOutlier CalculatorBinary to Gray Code ConverterDecimal to BCD ConverterVideo to Image ExtractorSun, Moon & Rising Sign Calculator 🌞🌙✨Random Group GeneratorAI Punctuation AdderOctal CalculatorYouTube Earnings EstimatorOPS CalculatorSlope and Grade CalculatorBCD to Decimal ConverterCompound Growth CalculatorTime Duration CalculatorNumber to Word ConverterModulo CalculatorRemove AccentOne Rep Max (1RM) CalculatorFraction to Decimal CalculatorCompare Two StringsMerge VideosVertical Jump CalculatorAudio SplitterQuotient and Remainder CalculatorGray Code to Binary ConverterDay of Year CalendarOpen Graph CheckerPER CalculatorRandom Activity GeneratorCM to Inches ConverterRandom Number PickerImage SplitterMercury Retrograde CalendarRandom Superpower GeneratorStandard Error CalculatorIP Address to Hex ConverterInvisible Text GeneratorAI Text HumanizerVideo CompressorNumber ExtractorLove Compatibility CalculatorPercent Growth Rate CalculatorRandom Birthday GeneratorText FormatterWAR CalculatorWHIP CalculatorShort Selling Profit CalculatorGrade CalculatorMaster Number CalculatorRandom Movie PickerDay of the Year Calculator - What Day of the Year Is It Today?Study Timer (Pomodoro)Social Media Username CheckerAdd Prefix and Suffix to TextRandom Meal GeneratorRemove Leading Trailing SpacesRandom Emoji GeneratorRandom Poker Hand GeneratorRandom Fake Address GeneratorFile Size ConverterFirst n Digits of eMAC Address AnalyzerConnect the Dots GeneratorEmail ExtractorURL ExtractorSHA512 Hash GeneratorList of Prime NumbersBinary to BCD ConverterSort Lines AlphabeticallyHex to BCD ConverterBCD to Binary ConverterLottery Number GeneratorBCD to Hex ConverterMedian CalculatorLeap Years ListList RandomizerBreak Line by CharactersAverage CalculatorPVIFA CalculatorReverse VideoHypotenuse CalculatorRemove Audio from VideoActual Cash Value CalculatorScientific Notation to Decimal ConverterAngel Number CalculatorLog Base 2 CalculatorRoot Mean Square CalculatorSum of Positive Integers CalculatorSHA3-256 Hash GeneratorAI Sentence Expander📅 Date CalculatorLbs to Kg ConverterHex to Decimal ConverterConvolution CalculatorRandom String GeneratorAmortization CalculatorMarkup CalculatorPVIF CalculatorName Number CalculatorDecimal to Hex ConverterDaily Time Savings CalculatorLorem Ipsum GeneratorReadability Score CalculatorKeyword Density CheckerBionic Reading ConverterText to Speech ReaderFancy Text GeneratorZalgo Text GeneratorUpside Down Text GeneratorASCII Art GeneratorList Difference CalculatorText Column ExtractorText to SQL List ConverterInvisible Character RemoverStock Average CalculatorPosition Size CalculatorMargin Call CalculatorFutoshiki GeneratorHashi (Bridges) Puzzle GeneratorSlitherlink Puzzle GeneratorWord Search Puzzle GeneratorCrossword Puzzle MakerCryptogram GeneratorWord Scramble GeneratorWord Ladder GeneratorBingo Card GeneratorTip CalculatorCurrency Converter401(k) CalculatorRoth IRA CalculatorRetirement CalculatorSocial Security Benefits CalculatorPension CalculatorRMD CalculatorSIP CalculatorMutual Fund CalculatorStock Profit Loss CalculatorDividend Reinvestment CalculatorDollar Cost Averaging CalculatorBusiness Loan CalculatorPersonal Loan CalculatorDebt Payoff CalculatorDebt Consolidation CalculatorNet Worth CalculatorBudget CalculatorSavings Goal CalculatorEmergency Fund CalculatorAPI TesterASCII Table ReferenceWebhook TesterSchema Markup GeneratorRobots.txt GeneratorXML Sitemap GeneratorDomain Age CheckerWHOIS LookupDNS LookupHeadline AnalyzerPage Speed CheckerRedirect CheckerHreflang Tag GeneratorDomain Trust CheckerBroken Link CheckerAI Content DetectorAI Blog Title GeneratorAI Email WriterAI Hashtag GeneratorAI Slogan GeneratorAI Article Outline GeneratorAI Token CounterInstagram Engagement Rate CalculatorTikTok Engagement Rate CalculatorYouTube Thumbnail DownloaderYouTube Tag ExtractorYouTube Comment PickerInstagram Font GeneratorSocial Media Image Size GuideTikTok Money CalculatorYouTube Channel StatisticsTwitter/X Character CounterYouTube Watch Time CalculatorTwitch Earnings CalculatorYouTube Shorts Monetization CalculatorFacebook Ad Cost CalculatorSocial Media ROI CalculatorSocial Media Post Time OptimizerCTR CalculatorROAS CalculatorInfluencer ROI CalculatorForce CalculatorAcceleration CalculatorVelocity CalculatorMomentum CalculatorProjectile Motion CalculatorKinetic Energy CalculatorPotential Energy CalculatorWork and Power CalculatorDensity CalculatorPressure CalculatorIdeal Gas Law CalculatorFree Fall CalculatorTorque CalculatorHorsepower CalculatorDilution CalculatorChemical Equation BalancerStoichiometry CalculatorPercent Yield CalculatorEmpirical Formula CalculatorBoiling Point CalculatorTitration CalculatorMole/Gram/Particle ConverterLED Resistor CalculatorVoltage Divider CalculatorParallel Resistor CalculatorCapacitor Calculator555 Timer CalculatorWire Gauge CalculatorTransformer CalculatorRC Time Constant CalculatorPower Factor CalculatorDecibel (dB) CalculatorImpedance CalculatorResonant Frequency CalculatorFinal Grade CalculatorWeighted Grade CalculatorTest Score CalculatorSignificant Figures CalculatorLong Division CalculatorRounding CalculatorCompleting the Square CalculatorRatio Calculatorp-Value CalculatorNormal Distribution CalculatorPercentile CalculatorFive Number Summary CalculatorCross Multiplication CalculatorLumber CalculatorRebar CalculatorPaver CalculatorInsulation CalculatorHVAC Sizing CalculatorRetaining Wall CalculatorCarpet CalculatorSquare Footage Calculator⏱️ Countdown Timer⏱️ Online Stopwatch⏱️ Hours Calculator🕐 Military Time Converter📅 Date Difference Calculator⏰ Time Card Calculator⏰ Online Alarm Clock🌐 Time Zone Converter🌬️ Wind Chill Calculator🌡️ Heat Index Calculator💧 Dew Point CalculatorFuel Cost CalculatorTire Size Calculator👙 Bra Size Calculator🌍 Carbon Footprint Calculator⬛ Aspect Ratio CalculatorOnline Notepad🖱️ Click Counter🔊 Tone Generator📊 Bar Graph Maker🥧 Pie Chart Maker📈 Line Graph Maker📷 OCR / Image to Text🔍 Plagiarism Checker🚚 Moving Cost Estimator❄️ Snow Day Calculator🎮 Game Sensitivity Converter⚔️ DPS Calculator🎰 Gacha Pity Calculator🎲 Loot Drop Probability Calculator🎮 In-Game Currency Converter