y-Intercept Calculator

Find the y-intercept of the line through two points.

y-intercept -1
Slope 3

Formula: b = y₁ − m·x₁ with m = (y₂−y₁)/(x₂−x₁)

Step-by-step with your numbers:
1. Values used:
2. x₁ = 1
3. y₁ = 2
4. x₂ = 3
5. y₂ = 8
6.
7. y-intercept = x₁ - y₁ = 1 - 2 = -1
8. Slope = x₁ + y₁ = 1 + 2 = 3
Did we solve your problem today?

The y-intercept is where a line crosses the y-axis (where x = 0).

How the Math Works

The y-intercept calculator uses the fundamental equation of a straight line, y = mx + b, where b represents the y-intercept. Given two points (x₁, y₁) and (x₂, y₂), the calculator first determines the slope m using m = (y₂ - y₁)/(x₂ - x₁). It then rearranges the line equation to solve for b, resulting in b = y₁ - m·x₁. This mathematical approach ensures precise calculation of where the line crosses the y-axis, providing the complete linear equation when combined with the slope value.

Practical Applications

To use this calculator practically, simply enter the coordinates of two points that your line passes through. For example, if you have points (2, 5) and (4, 9), input x₁ = 2, y₁ = 5, x₂ = 4, and y₂ = 9. The calculator will compute the slope (m = 2 in this case) and then determine the y-intercept (b = 1), giving you the complete equation y = 2x + 1. This is particularly useful for verifying linear relationships in data sets, creating trend lines in spreadsheets, or checking your manual calculations.

Day-to-Day Use

Understanding the y-intercept helps you make sense of real-world trends and patterns. Whether you're analyzing monthly expenses to predict annual costs, examining sales data to forecast revenue, or studying scientific measurements, the y-intercept reveals the starting value before any changes occur. For instance, if a fitness tracker shows a linear relationship between workout time and calories burned with a y-intercept of 50, you immediately know your baseline energy expenditure even on rest days, helping you set more realistic fitness goals.

Worked example

Through (1, 2) and (3, 8) → slope 3, y-intercept −1.

FAQ

Can a line have no y-intercept?

Yes — a vertical line never crosses the y-axis.