Skip to main content

learn.howToCalculate

learn.whatIsHeading

The equation of a line in slope-intercept form is y = mx + c, where m is the slope (gradient) and c is the y-intercept. It describes every straight line in 2D space.

공식

Slope-intercept: y = mx + b; Point-slope: y − y₀ = m(x − x₀); General: Ax + By + C = 0
m
slope (rise/run)
b
y-intercept
(x₀, y₀)
a point on the line
A, B, C
coefficients in general form

단계별 가이드

  1. 1Slope m = (y₂−y₁)/(x₂−x₁)
  2. 2y-intercept c = y − mx
  3. 3Parallel lines have equal slopes
  4. 4Perpendicular lines: m₁×m₂ = −1

풀어진 예시

입력
Points (0,2) and (3,8)
결과
m = (8−2)/(3−0) = 2, c = 2, so y = 2x + 2
입력
m = 3, passes through (1, 5)
결과
y − 5 = 3(x − 1), so y = 3x + 2

자주 묻는 질문

How do I find the slope between two points?

m = (y₂ − y₁) / (x₂ − x₁).

What is a vertical line equation?

x = c (constant). Vertical lines have undefined slope and cannot be written in y = mx + b form.

How do I convert between slope-intercept and general form?

From y = mx + b to Ax + By + C = 0: rearrange to −mx + y − b = 0 or mx − y + b = 0.

계산할 준비가 되셨나요? 무료 Line Equation 계산기를 사용해 보세요

직접 시도해 보세요 →

설정

개인정보이용약관정보© 2026 PrimeCalcPro