Science & engineering

Marine chronometer rate and UTC correction calculator

The fit separates clock offset at the first check from a steady gain or loss measured in seconds per day..

Your numbers

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 marine chronometer correction describes the difference between an instrument reading and a reference time. Its rate describes how that difference changes. This calculator fits a linear offset to dated reference checks and inverts an entered instrument reading to the corresponding UTC under that fitted model, rather than subtracting an offset evaluated at the wrong time.

THE FORMULAFit offset=a+b(t−tref); UTC=(instrument−a+b tref)/(1+b).

A worked example

The prefilled example gives UTC elapsed seconds = 259200. This demonstration uses supplied example data, not an approved vessel operating condition.

Good to know

Check rows [UTC seconds since supplied ISO epoch,instrument-minus-UTC seconds]. Query is instrument elapsed seconds since that epoch. Linear offset/rate fit and exact clock-reading inversion; no leap-second handling, clock resets or guaranteed error-growth model.

Model a chronometer offset over dated checks

A marine chronometer correction describes the difference between an instrument reading and a reference time. Its rate describes how that difference changes. This calculator fits a linear offset to dated reference checks and inverts an entered instrument reading to the corresponding UTC under that fitted model, rather than subtracting an offset evaluated at the wrong time.

Use a complete time axis with dates, not clock time alone. An observation across midnight can otherwise appear to reverse order, and a reset can look like a huge rate change. The reference checks must belong to one continuous instrument segment with a known UTC basis; they do not automatically establish accurate present time indefinitely after the last check.

Clock-rate correction must be inverted with the readingRate = +2 s/dayAt UTC day 3: +16 s259216 instrument seconds → 259200 UTC seconds
Scroll across to see the full diagram.
Checks at0,1,2days have instrument-minus-UTC offsets10,12,14seconds. Instrument reading259216s maps toUTC259200s; fitted gain2s/day.

For a related navigation or vessel calculation, use the Running celestial-fix calculator on a local plotting plane. Compare the model and input conventions before combining results.

Keep fast, slow, gaining and losing distinct

Offset is instrument time minus UTC. A positive offset means the instrument reads fast at that instant; a negative offset means it reads slow. A positive fitted rate means the offset is increasing, or gaining. An instrument can therefore be slow but gaining, so offset sign and rate sign should not be treated as the same description.

Enter check times on the UTC axis and their measured offsets in seconds. A reference epoch close to the checks improves numerical conditioning, especially when full timestamp values are large. Time zones and clock conventions must already be resolved to UTC; a local clock change is not evidence that the chronometer's physical drift changed by an hour.

Fit offset, then invert the reading

The model is offset e equal to a plus b times UTC minus reference epoch. Coefficient a is offset at the reference epoch, and b is offset change per elapsed second. Multiply b by 86,400 to express the familiar rate in seconds per day. At least two distinct check times are required to determine a line.

An instrument reading C satisfies C equal to UTC plus that UTC-dependent offset. Solving gives UTC equal to C minus a plus b times reference epoch, divided by one plus b. This denominator matters because the offset belongs to UTC, not to the already biased instrument reading. Simply substituting C into the offset model introduces a small but systematic inconsistency.

An exact linear-rate example

Use synthetic reference checks at elapsed UTC seconds zero, 86,400 and 172,800 with offsets positive ten, twelve and fourteen seconds. The fitted offset at the first epoch is ten seconds and the rate is positive two seconds per day. All three points lie on the model, so their residuals are exactly zero apart from numerical roundoff.

At elapsed UTC 259,200 seconds, the model offset is positive 16 seconds, making the instrument reading 259,216. Inverting that instrument reading recovers UTC 259,200, not a time displaced by the rate applied on the wrong axis. These numbers test the fitting, daily-rate conversion and inverse equation without asserting the current state of a real chronometer.

Interpret residuals and extrapolation age

Residuals are the measured check offsets minus the fitted linear trend. They can reveal that one constant rate does not describe the observations, but they do not identify whether temperature, reading error, a reference problem or an instrument change caused the discrepancy. Two checks determine a line exactly and leave no residual degrees of freedom for estimating scatter.

A query beyond the latest check is an extrapolation. Its age should remain visible because a linear rate that described earlier checks may not remain constant. A zero residual on a short check series is not proof of zero future uncertainty. When uncertainty is modeled, distinguish uncertainty of the fitted mean offset from the wider uncertainty of a future instrument reading.

Restarts and clock-scale limitations

Do not combine observations from before and after a reset or deliberate correction into one drift line. That creates a step that the linear-rate model can misinterpret as gradual drift. Start a new segment with its own offset relationship, and retain the reset record so a later reading is associated with the correct instrument history.

This implementation uses an elapsed-second UTC representation and does not automatically solve leap-second or specialized astronomical time-scale conversions. Check whether the source timestamps cross such a boundary and whether their system represents it explicitly. A precise-looking timestamp conversion can still be conceptually wrong if two reference clocks use different scales or inconsistent date conventions.

Preserve the check record with the answer

Save reference dates, offsets, sign convention, fitted rate and query age with the corrected time. A bare correction such as subtract 16 seconds loses the condition under which it was obtained. If a later reading is evaluated, use the model at that new epoch rather than reusing a correction copied from a previous result.

This page is an educational offset-and-rate analysis. It does not certify a time source, replace current time signals or guarantee that stale checks establish present UTC. Its purpose is to make the drift fit and inverse reading calculation explicit, so the observation quality, instrument continuity and extrapolation assumptions can be reviewed before the time is used elsewhere. Check rows [UTC seconds since supplied ISO epoch,instrument-minus-UTC seconds]. Query is instrument elapsed seconds since that epoch. Linear offset/rate fit and exact clock-reading inversion; no leap-second handling, clock resets or guaranteed error-growth model.

A few questions, answered

Can a chronometer be slow but gaining?

Yes. Slow describes a negative current offset; gaining describes a positive rate of change of that offset.

Why divide by one plus the fitted rate when converting a reading?

The fitted offset is a function of UTC, so inverting instrument time requires solving the full relationship rather than evaluating the offset on the instrument axis.

Do two checks establish a measured scatter uncertainty?

No. They determine a line but leave no residual degrees of freedom for estimating check scatter.

Can observations across a reset share one fit?

Not as one continuous drift segment. A reset introduces an offset step that requires a new segment or an explicitly different model.

Find your calculator

Start typing to explore the library.