Home › Calculators › Line from Start and Rate
Opens on Chapter 13’s example: an electrician’s $45 call-out plus $60 an hour, against another at $75 an hour and no call-out fee.
How it works
In y = mx + b, b is where the line starts (the value at x = 0) and m is how much y goes up for each 1 in x. From two points, m = (y₂ − y₁) ÷ (x₂ − x₁) and then b = y₁ − m × x₁. A line reaches zero at x = −b ÷ m. Two lines cross where mx + b is the same for both: m₁x + b₁ = m₂x + b₂ gives x = (b₂ − b₁) ÷ (m₁ − m₂); if the rates match, the lines are parallel and never meet.
Numbers can be typed as 1,450, $38, 0.40, 12%, 1/6 or 2 3/8. The algebra is done with exact fractions, so 1/3 stays 1/3; decimals are rounded half up, the way the book rounds. Everything stays in your browser: no sign-up, nothing stored or sent.