Choose an input method and enter values easily. View every equation form and key metrics. Download results, share work, and verify homework accurately fast.
| Method | Inputs | Equation (slope-intercept) | Standard form |
|---|---|---|---|
| Two points | (1,2) and (3,6) | y = 2x | 2x - y + 0 = 0 |
| Point & slope | Point (4,1), m = -1/2 | y = -0.5x + 3 | x + 2y - 6 = 0 |
| Standard | 3x + 2y - 8 = 0 | y = -1.5x + 4 | 3x + 2y - 8 = 0 |
This calculator accepts two points, point–slope, slope–intercept, intercepts, standard form, angle with a point, and parallel or perpendicular constraints. Each method reduces to Ax + By + C = 0, which is stable for vertical lines where B = 0.
For non‑vertical lines, slope m = −A/B measures rise per unit run. If m = 2, y increases by 2 for every 1 unit increase in x. If m = −0.5, y falls 1 unit for every 2 units of x. The direction vector (B, −A) shows the line’s travel direction, useful for parametric motion and vector geometry.
The x‑intercept occurs at y = 0, giving x = −C/A when A ≠ 0. The y‑intercept occurs at x = 0, giving y = −C/B when B ≠ 0. Slope‑intercept form y = mx + b is ideal for quick substitution, while point‑slope y − y₁ = m(x − x₁) is often preferred in proofs and coordinate geometry.
When an angle θ is provided, the slope is tan(θ), and the tool treats 90°‑type angles as vertical. Parallel lines preserve slope, while perpendicular lines use m₂ = −1/m₁; a horizontal reference automatically yields a vertical result, and vice‑versa. These rules support construction problems in analytic geometry.
Precision settings manage rounding for display, while fraction input such as 3/4 is converted reliably for computation. Standard‑form normalization can scale coefficients to small integers, improving readability in assignments and reports. The distance from the origin uses |C|/√(A² + B²), a common metric for comparing offsets between multiple candidate lines.
The Plotly graph displays the computed line and key points, letting you validate slope direction, intercept placement, and vertical behavior visually. Use the optional evaluation fields to compute y at a chosen x (or x at a chosen y) for spot checks. Export CSV for spreadsheets or PDF for submission, keeping the equation forms and derived metrics consistent across tools. For homework, paste the standard form into graphing apps, then confirm the plotted line passes through your inputs. Save screenshots to document your checks every time.
Vertical lines have no finite slope. The calculator reports the equation as x = k and still provides standard form, direction/normal vectors, and a correct Plotly visualization.
Yes. Fractions and decimals are accepted in all numeric fields. The tool converts them for computation and can display results as fractions, decimals, or both depending on your settings.
Many equivalent standard forms represent the same line. Enabling normalization scales coefficients to smaller integers and applies a consistent sign rule, improving readability while preserving the identical geometric line.
For non‑vertical lines, the perpendicular slope is m₂ = −1/m₁. If the reference is horizontal, the perpendicular becomes vertical. If the reference is vertical, the perpendicular becomes horizontal.
It is the shortest distance from (0,0) to the line. For Ax + By + C = 0, the distance equals |C|/√(A² + B²). It helps compare how far different lines sit from the origin.
Use CSV to store results in spreadsheets, share datasets, or run checks across multiple problems. Use PDF for print-ready submission, keeping the computed equation forms and key metrics together.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.