Skip to content
ToolUlkaa Tool
All tools

Mathematics

Percentage CalculatorFraction CalculatorEquation SolverTensorMatrix CalculatorUnit ConverterNumber Base ConverterDerivative CalculatorIntegral CalculatorLimit CalculatorAlgebra CalculatorQuadratic Formula CalculatorFactoring CalculatorLogarithm CalculatorSquare Root CalculatorLong Division CalculatorSignificant Figures CalculatorLCM and GCF CalculatorPrime Factorization CalculatorTriangle CalculatorPythagorean Theorem CalculatorSlope CalculatorArea CalculatorVolume CalculatorScientific CalculatorGraphing Calculator

Categories

AcademicTextMathematicsStatisticsMachine LearningAIData ScienceFile
All tools
Mathematics

Perpendicular Line Calculator

Enter a line by two points and the point the perpendicular must pass through.

What do you need?
Try:

The two points define the line. The new lines pass through the extra point.

Parallel line through the point

y=12x−3y=\tfrac{1}{2}x-3y=21​x−3
Slope m
12\tfrac{1}{2}21​
Angle with the x axis
26.5651°
Slope-intercept form
y=12x+72y=\tfrac{1}{2}x+\tfrac{7}{2}y=21​x+27​
Point-slope form
y−2=12(x+3)y-2=\tfrac{1}{2}(x+3)y−2=21​(x+3)
Standard form
x−2y=−7x-2y=-7x−2y=−7
Rise and run
3 and 6
Distance
6.708204
Midpoint
(0, 3.5)

Through the extra point

Parallel line
y=12x−3y=\tfrac{1}{2}x-3y=21​x−3
Perpendicular line
y=−2x+7y=-2x+7y=−2x+7

Graph

  • Line
  • Parallel
  • Perpendicular
Table of values
Graph of the line through (-3, 2) and (3, 5): sampled values across the visible range
xLineParallelPerpendicular
-6.150.425-6.07519.3
-4.821.09-5.4116.64
-3.491.755-4.74513.98
-2.162.42-4.0811.32
-0.833.085-3.4158.66
0.53.75-2.756
1.834.415-2.0853.34
3.165.08-1.420.68
4.495.745-0.755-1.98
5.826.41-0.09-4.64
7.157.0750.575-7.3

Step by step

  1. 1Slope
    m=y2−y1x2−x1m=\dfrac{y_2-y_1}{x_2-x_1}m=x2​−x1​y2​−y1​​
    ↓
    m=5−23−(−3)=36=12m=\dfrac{5-2}{3-(-3)}=\dfrac{3}{6}=\tfrac{1}{2}m=3−(−3)5−2​=63​=21​
  2. 2Parallel line
    m∥=mm_\parallel=mm∥​=m
    ↓
    y+1=12(x−4)  ⇒  y=12x−3y+1=\tfrac{1}{2}(x-4)\;\Rightarrow\;y=\tfrac{1}{2}x-3y+1=21​(x−4)⇒y=21​x−3

    A parallel line has the same slope.

  3. 3Perpendicular line
    m⊥=−1mm_\perp=-\dfrac{1}{m}m⊥​=−m1​
    ↓
    m⊥=−112=−2  ⇒  y=−2x+7m_\perp=-\dfrac{1}{\tfrac{1}{2}}=-2\;\Rightarrow\;y=-2x+7m⊥​=−21​1​=−2⇒y=−2x+7

    A perpendicular line has the negative reciprocal slope.

  1. Tools
  2. Mathematics
  3. Slope Calculator
  4. Perpendicular Line Calculator

About Perpendicular Line Calculator

This perpendicular line calculator finds the negative reciprocal slope of a given line and writes the equation of the line with that slope through your point. The parallel line through the same point is shown too. It is free, needs no sign-up and runs in your browser, so nothing you enter is uploaded.

The page opens on the line through (-3, 2) and (3, 5), slope 0.5, and the point (4, -1). The perpendicular slope is -2.

How to use Perpendicular Line Calculator

  1. 1Type the coordinates of point 1 and point 2. Negative numbers and decimals are fine.
  2. 2Pick what you need: everything, slope and angle, line equation, distance, midpoint, or parallel and perpendicular lines.
  3. 3Read the headline answer and the table of every result under it.
  4. 4Check the graph. Drag to pan and scroll or pinch to zoom, and use the trace to read coordinates.
  5. 5Open the step-by-step working to copy the method into your homework.
  6. 6For parallel and perpendicular lines, enter the point the new lines must pass through.

Features

  • Slope as an exact fraction and a decimal, with rise and run.
  • Angle of inclination between 0 and 180 degrees.
  • Slope-intercept, point-slope and standard form with whole-number coefficients.
  • Vertical and horizontal lines handled correctly (slope undefined or zero).
  • Distance formula and midpoint formula with steps.
  • Parallel and perpendicular lines through a chosen point.
  • An interactive graph of the line, the points and the midpoint.
  • Step-by-step working in KaTeX.

Perpendicular slope

The product of perpendicular slopes is minus one.

m₁ · m₂ = −1

Worked examples

  • Line (-3, 2), (3, 5); point (4, -1) → gives Slope -2

    Negative reciprocal of 1/2.

Privacy: how it works

  • Every result is calculated by code in your browser tab. The coordinates you enter are not sent to Ulkaa or to any other server, and there is nothing to sign in to.

Tips

  • Keep the order consistent. Subtract the first point from the second in both the numerator and the denominator, or the sign of the slope flips.
  • If both points are the same, no line is defined. The calculator tells you.
  • Two lines are perpendicular when the product of their slopes is −1, and parallel when the slopes are equal.
  • Standard form is scaled to whole numbers with no common factor, so decimals in the points are cleared for you.

Frequently asked questions

Is it really free?

Yes. There is no price, no trial and no credit card. Ulkaa Tool does the work with your own device, so there is no server bill to pass on to you.

Do I need an account?

No. There is no sign-up and no login. Open the page and use it. An Ulkaa account is not needed for anything on this tool.

Does it run in my browser?

Yes. Your points are processed by code running in your browser tab, on your own device.

Is my data uploaded?

No. Your points are never sent to Ulkaa or to anyone else. You can check this yourself by watching the Network tab in your browser developer tools while you use the tool.

How do I find a perpendicular line?

Flip the slope and change its sign, then use your point in point-slope form.

Can a vertical line be perpendicular to a horizontal one?

Yes. A horizontal line has slope 0 and its perpendicular is vertical, with undefined slope.

More Slope Calculator pages

  • Slope CalculatorEnter two points to get the slope, the angle, the equation of the line, the distance and the midpoint, with the working and a graph.
  • Slope From Two Points CalculatorEnter two points and get rise over run and the angle of the line.
  • Distance Formula CalculatorEnter two points to get the straight-line distance between them.
  • Midpoint CalculatorEnter two endpoints to get the midpoint of the segment.
  • Line Equation From Two PointsEnter two points to get the equation of the line in three forms.
  • Slope-Intercept Form CalculatorEnter two points and read the slope and the y-intercept of y = mx + b.
  • Parallel and Perpendicular Line CalculatorEnter a line by two points and a third point, and get the parallel and perpendicular lines through it.

Ulkaa Apps

  • Ulkaa
  • Calendar
  • Task
  • Note
  • Disk
  • Call
  • Contact
  • Mail
  • Finance
  • Health
  • Office
  • Work
  • Workspace
  • Halum
  • Jaal
  • Islam
  • Game
  • Weather
  • Campus
  • News
  • Developer
  • Help
  • Account
About·Privacy·Terms·© 2026 Ulkaa

What is Ulkaa Tool?

Ulkaa Tool is a free collection of fast, privacy-friendly online tools from Ulkaa Network. Calculate your GPA and CGPA, edit rich text, count words and characters, replace text and more — all in your browser.

Every tool runs entirely in your browser — no sign-up, and your data never leaves your device.

Academic

  • GPA Calculator
  • CGPA Calculator
  • Citation Generator
  • Quiz Maker

Text

  • Rich Text Editor
  • Word Counter
  • Character Counter
  • Text Replacement

Ulkaa

  • Ulkaa
  • Ulkaa News
  • Ulkaa Campus
  • Ulkaa Tool
  • Ulkaa Game
  • Ulkaa Weather
  • Ulkaa Islam

Company

  • About Ulkaa
  • Careers
  • Support
  • Help
  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • Sitemap

© 2015-26, Ulkaa. All rights reserved.
Facebook PageLinkedIn CompanyX (Twitter) ProfileInstagram ProfileGitHub Account