Start with a worked example
Open the worked example for Distance. The example starts with a = 3, b = 4, c₁ = 0.
Distance Between Lines Calculator formula
Distance=|c₂−c₁|/√(a²+b²).
Inputs and units
| Input | Format / range | Example |
|---|---|---|
| a | Number | 3 |
| b | Number | 4 |
| c₁ | Number | 0 |
| c₂ | Number | 10 |
Worked example
The values listed in Inputs and units give 2 for Distance.
- Distance
- 2
Results and assumptions
Change a from 3 to 3.3 and keep the other example inputs fixed. The updated answer is 1.92843319635 (Distance).
Fix an input or unexpected result
a is required. Enter a using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.
