Science & engineering

GNSS pseudorange position and receiver-clock calculator

ECEF position and clock bias are solved together from corrected satellite coordinates and pseudoranges.

Your numbers

Rows [ECEFxmetres,ECEFy,ECEFz,correctedpseudorangemetres]. Synthetic cube geometry, not a visible constellation.
Numeric JSON array. Follow the displayed column labels and units; example data are synthetic.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

A GNSS pseudorange is not simply the geometric distance from a receiver to a satellite. Receiver clock offset contributes a common range bias, and real measurements can also include satellite-clock, atmospheric and other errors. This calculator solves a supplied corrected-pseudorange model for three receiver ECEF coordinates and one receiver-clock bias rather than applying ordinary distance-only trilateration.

THE FORMULAρi=|satellitei−receiver|+clock bias; nonlinear least squares and unweighted geometric DOP.

A worked example

The prefilled example gives Receiver clock bias m = 100. This demonstration uses supplied example data, not an approved vessel operating condition.

Good to know

Corrected satellite emission-time ECEF/pseudoranges supplied inmetres; nonlinear near-Earth receiverxyz/clock fit. Geometry DOP fromunweighted design matrix, known common-sigma covariance separately. Satellite clocks, atmosphere, Earth rotation and visibility filtering must be resolved before input; no live GNSS service.

Solve position and receiver clock together

A GNSS pseudorange is not simply the geometric distance from a receiver to a satellite. Receiver clock offset contributes a common range bias, and real measurements can also include satellite-clock, atmospheric and other errors. This calculator solves a supplied corrected-pseudorange model for three receiver ECEF coordinates and one receiver-clock bias rather than applying ordinary distance-only trilateration.

Satellite coordinates and pseudoranges are explicit inputs. They must already share a consistent measurement model and epoch treatment, including any required satellite transmission-time and Earth-rotation handling. The page does not download live orbital data or automatically remove every propagation correction. Its synthetic examples exercise the numerical positioning model without pretending to be an actual visible satellite constellation.

Satellite geometry and receiver clock are solved togetherPDOP = 1.06066GDOP = 1.11803Clock bias = 100 mFour unknowns: receiver x, y, z and clock bias
Scroll across to see the full diagram.
Synthetic symmetric eight-corner fixture has receiverECEF(6378137,0,0)m,clock100m,PDOP√(9/8)andGDOP√(10/8). Some synthetic satellites are below the horizon; this is not a visible constellation.

For a related reference calculation, see the Trilateration calculator from anchor distances.

Use Earth-centered coordinates consistently

Enter satellite Earth-centered Earth-fixed positions in meters and pseudoranges in meters. The receiver-clock unknown is represented as an equivalent distance, which keeps the four estimation columns on a compatible scale. Divide the final clock bias by the speed of light to express it in seconds after the position-and-clock solution has been obtained.

An approximate receiver position and clock value initialize the nonlinear fit. The satellite positions must not be interpreted as latitude-longitude triples or local east-north coordinates. If they are already corrected for Earth rotation during signal travel, applying an additional correction elsewhere would double-count it. The coordinate and measurement conventions should remain attached to the input table.

Iterate the pseudorange equations

Predicted pseudorange is satellite-to-receiver geometric distance plus receiver-clock distance bias. Linearizing at the current receiver estimate gives one row with the negative line-of-sight unit-vector components and a clock coefficient of one. Least squares estimates an update to all four unknowns, and the process repeats until its stated convergence criteria are met.

At least four observations with a full-rank geometry are necessary. Four rows alone do not guarantee a unique stable update, and redundant rows do not rescue a rank-deficient layout automatically. A convergence or geometry failure must be reported as unresolved instead of returning the last iteration as a valid position merely because a numerical loop reached its limit.

An exact synthetic geometry reference

Place the reference receiver at ECEF coordinates 6,378,137, zero, zero meters, the WGS84 equator at longitude zero and zero ellipsoidal height. Construct eight synthetic satellite points 20,200,000 meters away along the eight unit directions formed by all sign combinations of one, one, one divided by square root three.

Give every pseudorange the geometric range plus 100 meters. The exact solution recovers the reference receiver and a positive 100-meter clock bias, about 0.333564 microsecond. Some synthetic points lie below the receiver's horizon; this is an analytic geometry fixture, not a claim about actual satellites in view or a realistic operational constellation at a current epoch.

Geometry dilution is a separate output

For unweighted geometry matrix G, the inverse of its transposed-product matrix gives the geometry cofactor matrix. PDOP uses the sum of its three position diagonal entries, TDOP its clock entry and GDOP all four. These dimensionless quantities describe how the assumed line-of-sight layout amplifies a common observation-error scale under the selected model.

In the symmetric eight-direction fixture, the position diagonal entries are each three-eighths and the clock entry is one-eighth. PDOP is square root nine-eighths, TDOP square root one-eighth and GDOP square root ten-eighths. These exact values independently test the geometry calculation; they do not state the accuracy of uncorrected real GNSS observations or eliminate common measurement biases.

Position conversion and measurement limitations

Converting ECEF position to WGS84 latitude, longitude and ellipsoidal height is a separate geometric step. The Earth's center is not a meaningful surface position, and polar coordinates require appropriate handling because longitude becomes indeterminate on the axis. A successful range fit does not make every arbitrary ECEF result a plausible vessel location.

Real pseudoranges can contain ionospheric and tropospheric delays, multipath, satellite-clock residuals and instrumental effects. Those are outside this simple supplied-correction model unless explicitly represented in the inputs. A small residual can coexist with a common bias or a distorted model, especially when observations are only just sufficient to solve the four unknowns.

Keep the synthetic and operational boundaries clear

Save satellite coordinate conventions, correction status, epoch, pseudorange units, initialization and convergence diagnostics with the result. If measurement uncertainty is supplied, distinguish its conditional position covariance from the geometry-only DOP. A fitted clock bias is part of the mathematical observation model; it is not a certification of the receiver's timing hardware or its current UTC traceability.

This page is an educational GNSS least-squares and geometry tool. It does not provide a live navigation service, certified integrity monitoring or a guarantee of position accuracy. Use it to understand the position-clock coupling, inspect residuals and verify synthetic examples while retaining the actual corrections and equipment information required for real GNSS interpretation. Corrected satellite emission-time ECEF/pseudoranges supplied inmetres; nonlinear near-Earth receiverxyz/clock fit. Geometry DOP fromunweighted design matrix, known common-sigma covariance separately. Satellite clocks, atmosphere, Earth rotation and visibility filtering must be resolved before input; no live GNSS service.

A few questions, answered

Why are four unknowns estimated rather than three?

Receiver clock offset adds a common bias to pseudoranges, so position and clock must be solved together in the stated model.

Are the example satellite positions a real constellation?

No. They are synthetic symmetric directions designed to provide independently checkable position and DOP results, including some below-horizon directions.

Does a low DOP guarantee accurate real positioning?

No. DOP describes geometry amplification under a model and does not remove atmospheric, clock, multipath or other biases.

Does the calculator apply all satellite and atmospheric corrections automatically?

No. Input coordinates and pseudoranges must already follow a consistent declared correction and epoch model.

Find your calculator

Start typing to explore the library.