Keystroke Labs

HP 12C error codes: what Error 0 to 9 and Pr Error mean, and the fix

Press any key to clear the message (the numbers stay). The most common one, Error 5, means the financial problem has no answer, almost always because PV, PMT and FV all have the same sign: make the money you pay negative with CHS.

Numbers checked on 2026-11-23Works on: HP 12C, 12C Gold and 12C Platinum in RPN mode

The HP 12C shows a short message instead of a number when it cannot do what you asked. Pressing any key clears it; the stack and the registers keep their values, so after the fix you can usually compute again without re-entering everything.

Every message

MessageWhat it meansFix
Error 0Impossible math: division by zero, square root of a negative number, logarithm of zero or less, Δ% or %T from a base of zero, factorial of a non-integer.Check the number in the display (X) and the one before it (Y).
Error 1Storage register overflow: storage arithmetic (STO + and similar) gave a number beyond 9.999999999 × 10⁹⁹.Use smaller numbers or clear the register.
Error 2Statistics without enough data: a mean with no data, a standard deviation with one point, a linear estimate with no variation.Enter the data with Σ+ first (fCLEAR ΣSST clears it).
Error 3IRR found no answer or more than one is possible (flows that change sign more than once).Key a guess for the rate and press RCLgR/SPSE.
Error 4Program memory: more than 99 lines, a GTO to a line that does not exist, or storage arithmetic on a register that does not allow it.Check the program and its GTO targets.
Error 5The financial problem has no answer: PV, PMT and FV with the same sign, i at or below -100%, or a number of payments for AMORT that is not a positive whole number.Make the money you pay negative (CHS); check that n, i and the amounts make sense together.
Error 6Storage registers: a register that does not exist (used by program lines), more than 20 cash flows, or an Nj above 99.Split large Nj values; free registers by clearing the program (fCLEAR PRGMR↓ in program mode).
Error 7IRR with cash flows that never change sign (all positive or all negative).Enter the investment as negative: 50000CHSgPVCF₀.
Error 8Calendar: an impossible date or one out of range, or a date in the wrong format (M.DY vs D.MY).Check the format: g5M.DY M.DY, g4D.MY D.MY (D.MY shows on the display).
Error 9The self-test found a hardware problem.Take the calculator to service.
Pr ErrorContinuous Memory was reset: the batteries ran out or were changed too slowly, or the reset keys were pressed. Every register and program is cleared.Press any key; check the settings (decimals, END, date format) and re-enter your data.

Error 5, step by step

You borrowed 9,000 and pay 250 a month for 40 months; both amounts were entered as positive:

StepKeysDisplay showsWhat it does
1fCLEAR FINx≷y0.00Clear the financial registers.
29000PV9,000.00Loan received, positive.
3250PMT250.00Payment entered as positive too (CHS forgotten).
440n40.0040 payments.
5iError 5Solve for the rate: no rate can make this work.
6CLx40.00Any key clears the message; CLx is the safest.
7250CHSPMT-250.00Payment negative, as money you pay.
8i0.52Now the rate per month.

With the payment negative the rate is 0.52% a month. The same goes for FV: in a savings problem, the deposits (PMT) and the balance you take out (FV) must have opposite signs.

Error 7 and IRR

StepKeysDisplay showsWhat it does
1fCLEAR REGCLx0.00Clear everything.
21000gPVCF₀1,000.00CF0 positive (should be the investment, negative).
3600gPMTCFj600gPMTCFj600.00Two positive flows.
4fIRRFVError 7IRR: no sign change, so no IRR.

An investment needs at least one negative and one positive flow. See NPV and IRR on the HP 12C.

The others, reproduced

StepKeysDisplay showsWhat it does
11ENTER0÷Error 0Division by zero.
StepKeysDisplay showsWhat it does
1fCLEAR REGCLx0.00Clear everything.
21000CHSgPVCF₀100gPMTCFj100.00CF0 and one flow.
3120gFVNjError 6Nj of 120: more than the 99 allowed.
StepKeysDisplay showsWhat it does
1fCLEAR ΣSST0.00CLEAR Σ: no statistics data.
2g0x̄Error 2Mean (x̄) of nothing.
StepKeysDisplay showsWhat it does
113.012026ENTER13.01A date in M.DY format with month 13.
21.152027gEEXΔDYSError 8ΔDYS: days between two dates.

Related

How we checked this page: every display above comes from replaying the keys on a tested engine, and the final answer is compared with an independent formula. How we check every answer.