Two-Peg Test Calculator
Computes level collimation error from two-peg test readings for instrument calibration.
Inputs
Collimation error from a midpoint and a near setup, using the actual sight distances.
Enter the values and press Calculate.
Or load an example to see a worked result.
How the method works
Fixed example values for illustration — not your result.
Before you rely on this: First-pass guide only. Verify safety-critical or regulated work against the relevant standards, your project requirements and a qualified professional.
How to use this calculator
- Set up midway between pegs A and B and read both staffs.
- Set up close to one peg, read both staffs again, and enter the actual sight distance to each.
- If the first setup was not exactly midway, choose unequal midpoint sights and enter those distances too. Read the error per metre and per your baseline.
- Under More options set the reporting baseline, your own acceptance limit and the instrument name; the calibration record table exports as CSV and the Print report gives a calibration sheet.
How it works
Each reading is modelled as HI − H + e × d, where e is the collimation error per metre of sight (positive e raises readings with distance).
From the midpoint the error cancels, so mA − mB is the true difference. At the near setup nA − nB = true difference + e(dA − dB), so e = ((nA − nB) − (mA − mB)) ÷ (dA − dB). Unequal midpoint sights subtract (dMA − dMB) from that denominator.
Equal near-setup distances cancel the error and cannot measure it, so the tool refuses them. A corrected reading is reading − e × d.
Worked example
Midpoint 1.5 / 1.0, near 1.2 / 0.67 at 5 m and 35 m. e = (0.53 − 0.5) ÷ (5 − 35) = −0.001 m/m, or −30 mm per 30 m. The corrected near readings 1.205 and 0.705 differ by the true 0.5 m.
Common mistakes
- Assuming the sight distances instead of measuring them.
- Treating a midpoint setup as exact when it was paced out roughly.
- Adjusting the instrument from these numbers instead of following the maker's procedure.
Frequently asked questions
How much collimation error is acceptable?
Use your own or your organisation's limit (often stated per 30 m or per sight length). Adjust or service the instrument following the manufacturer's procedure when it is exceeded.
Related tools
- RL Difference Calculator
- Survey Tolerance Checker
- Height of Collimation Worksheet
- Contour Interpolation Calculator
- Rise and Fall Levelling Worksheet
- Angular Misclose Calculator
Explore more in Surveying, Coordinates, GIS & CAD.
Cite this tool
Zerdly. (2026). Two-Peg Test Calculator. Retrieved from https://www.zerdly.com/tools/two-peg-test-calculator/
Tip: Enter any known values to calculate the remaining results.
Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.



