The HP-45: the HP-35’s functions plus everything a gold shift key could add: nine storage registers with arithmetic in them, LAST x, FIX and SCI, three angular modes, degrees-minutes-seconds, polar and rectangular conversion, mean and standard deviation, percentages, factorials and three unit constants. This sheet is the keyboard drawn from the handbook’s figure, a guide to the machine from the stack outward, an index of every key and function with its handbook page, and the handbook’s vector-sum example traced through the stack and the summation registers. The gold key is written as ■, the blank square it is.
Source: HP-45 Owner’s Handbook, HP 00045-90300 Rev. 11/74 (Hewlett-Packard, Cupertino, 1974), with the HP-45 Quick Reference Guide; page numbers are the handbook’s printed pages.The HP-45 keyboard is the HP-35’s with a gold shift key in the top right corner: almost every key now does two jobs, the white one printed on the cap and the gold one printed on the case above it. Press gold, then the key. The handbook draws a shifted function in a box, and this sheet draws the gold key as the blank square it is.
What the shift bought: a second logarithm base, FIX and SCI, x² alongside √x, the inverse trig functions, n!, mean and standard deviation, degrees-minutes-seconds both ways, Δ%, three angular modes, three unit constants, π, Σ− and LAST x.
The key colours group by use: black for functions, grey for control and arithmetic, light for the digits.
The HP-45’s X, Y, Z and T work exactly as the HP-35’s: ENTER↑ lifts, an operator drops, and a dropping stack copies T into Z. The HP-45 adds LAST x, a fifth register that quietly receives the argument of every function as it executes — so a wrong operator can be undone.
The lift is disabled after ENTER↑, CLx and Σ+: the next number or RCL writes over X. After anything else, including R↓ and the constant keys, a new number pushes the stack up and t falls off the top.
The function keys π, cm/in, kg/lb and ltr/gal perform an automatic ENTER↑ before delivering their constant, so 3 x² π × is the whole area calculation.
STO and RCL take a digit 1 to 9. The handbook divides the nine into unrestricted and restricted: the summation key writes into five of them and trigonometry scribbles in a sixth, so which register you pick matters.
R1–R4 survive CLEAR; R5–R9 do not. Σ+ adds to R5–R8 rather than replacing them, which is why the handbook says CLEAR before every new set of data. SIN, COS, TAN, their inverses, →P and →R overwrite R9 with intermediate results.
Register arithmetic runs both ways: STO + 4 changes the register and leaves X; RCL + 4 changes X and leaves the register.
The HP-45 display is the HP-35’s — sign, ten digits, sign, two-digit exponent — but the gold FIX and SCI keys choose how much of it to show. Rounding is cosmetic: ten digits are always kept, and switching back reveals them.
In FIX a number that needs more digits than the setting allows is shown in full scientific notation, and one too small for the places shows as 0.00. The handbook counts twenty rounding options: ten FIX and ten SCI.
Three functions return a pair: →P and →R convert between rectangular and polar, and x̄,s gives the mean and the standard deviation. In every case the first result is displayed and the second is in Y, one x⇄y away.
The order of entry mirrors the order of the results: the value that ends up in Y goes in first. →P uses R9 for scratch; the angle follows the DEG, RAD or GRD mode.
The HP-45 of 1973 is the HP-35’s machine with a shift key, and everything HP had left out to make the first one fit: nine storage registers with register arithmetic, a LAST x register, FIX and SCI display control, three angular modes, degrees-minutes-seconds, polar and rectangular conversion, mean and standard deviation, percentages, factorials, and unit constants for inches, pounds and gallons.
Same case, same red LED display, same four-level stack and the same batteries. The handbook’s opening example converts (3, 4) to polar with two keys and then shows the answer to eight places to make the point against a slide rule.
Power-up is FIX 2 and degrees, with every register cleared. The order of the two operands of y^x is reversed from the HP-35: base first, power second.
Digits, the point, CHS and EEX as on the 35. What is new is the gold FIX and SCI: a digit after either sets the number of places shown. Nothing inside is rounded.
123.46 — FIX 2, the default■ FIX 4123.4560■ SCI 31.235 02■ FIX 2123.466.625 EEX 27 CHS6.625 -2750 ×0.00 — too small for FIX 2; SCI 6 shows 3.312500 -25A number too big for its FIX setting is shown in scientific notation automatically. CLx clears the entry; gold CLEAR clears the stack and R5–R9 — but not R1–R4, which only switching off empties.
The HP-45 has the HP-35’s four-register stack, worked the same way: ENTER↑ between two numbers you key, an automatic lift after any answer, T copied down on every drop.
4.00 — but you meant to subtract■ LAST x ×12.00 — back where you started■ LAST x −9.0012 ENTER↑ 3.157 ÷ ■ LAST x × 2.157 ÷the wrong divisor replaced without re-keying 121 ENTER↑ 2 ENTER↑ 3 ENTER↑ 4 R↓review; four presses restore the stackLAST x is the argument of the last function, saved automatically. It is the error-correction key, and also the way to reuse an argument: 12 ■ n! ■ LAST x 9 − ■ n! ÷ computes 12!/(12 − 9)! without keying 12 twice.
ENTER↑, CLx and Σ+ disable the lift for the next entry; everything else enables it.
STO n and RCL n, n from 1 to 9. Put an operator between STO and the digit and the arithmetic happens in the register; between RCL and the digit and it happens in X, leaving the register alone.
88.00 — the total, stored8 RCL 1 ÷0.09 — 9% of it6 STO 1 2 STO + 1 RCL 18.003 STO − 1 RCL 15.0011 RCL − 16.00 — 11 − r₁, register untouched0 STO 4 1 STO + 4 1 STO + 4a counter in R4The handbook’s payroll example sorts hours into four registers with STO + n and then multiplies each by its rate with RCL × n — a whole quarterly report with nothing written down.
R5–R8 belong to Σ+ and R9 to the trigonometry while those are in use. R1–R4 are yours unconditionally.
% takes x percent of y and, unusually, leaves y where it was, so the net amount is one more key. Gold Δ% is the percentage change from y to x.
42.00 — 14% of 300, and 300 is still in Y+342.00 — base plus percentage300 ENTER↑ 14 % −258.00 — base less percentage70 ENTER↑ 240 ■ Δ%242.86 — the rise, in percentPercents are keyed as percents; there is no dividing by 100 first.
Gold y^x raises the number in Y to the power in X — base first, then power, the order every HP has used since. x² is a key of its own now, with √x above it. ln and e^x are on the caps, log and 10^x above them.
512.008 ENTER↑ 1.2567 ■ yx13.645 ENTER↑ 3 1/x ■ yx1.71 — the cube root of 54 x2 x2256.005 ■ n!120.0012 ■ n! 3 ■ n! ÷79833600.00 — twelve players in nine positions1 ex2.72n! is defined for integers 0 to 69; anything else blinks. y^x is computed by logarithms and can miss the last digit; the handbook demonstrates this by showing 2⁹ at different FIX settings, then hides it again with FIX 2.
SIN, COS and TAN on the caps, their inverses above. Gold DEG, RAD and GRD set the angular mode, which lasts until changed or the machine is switched off. All of them scratch on R9.
0.82 — degrees■ RAD 6 TAN-0.29■ GRD .5 ■ SIN⁻¹33.33 — grads■ DEG .55 ■ SIN⁻¹ ■ →D.MS33.2201 — 33° 22′ 01″10.0856 ■ D.MS→ 2.1742 ■ D.MS→ + ■ →D.MS12.2638 — two survey angles added→D.MS writes a decimal angle as dd.mmss and D.MS→ reads one back, in whatever angular mode is set; the handbook notes it works for hours, minutes and seconds too. Angles over 100,000° in either direction are improper.
To change an angle from one mode to another, convert to D.MS in the first mode and back in the second.
→P turns x in X and y in Y into a magnitude in X and an angle in Y; gold →R turns an angle in Y and a magnitude in X back into x and y. Key the value that belongs in Y first.
5.00 — r; x⇄y shows the angle 53.13120 ENTER↑ 8 ■ →R-4.00 — x; x⇄y shows y, 6.93■ CLEAR 60 ENTER↑ 12 ■ →R Σ+first vector into R7 and R830 ENTER↑ 8 ■ →R Σ+second vector addedRCL Σ+ →P19.35 — the resultant; x⇄y gives 48.07°Combining →R with Σ+ adds vectors: the x-components accumulate in R7 and the y-components in R8, and RCL Σ+ brings the sums back into X and Y for →P. The worked example below traces this through the registers.
Gold CLEAR first, because Σ+ adds to R5–R8 rather than replacing them. Then key each value and press Σ+; the display counts the entries. x̄,s gives the mean, with the sample standard deviation one x⇄y away.
5.00 — n so far60 Σ+ 62 Σ+ 59 Σ+ 71 Σ+ 73 Σ+10.00■ x̄,s64.40 — the meanx⇄y10.10 — s87 Σ+ 49 Σ+ ■ x̄,s65.00 — two more ages, new mean44 ■ Σ− 47 Σ+a 44 keyed by mistake, taken out and replacedRCL 5, 6, 7 and 8 give n, Σx², Σx and Σy; RCL Σ+ gives Σx and Σy together. A value in Y when Σ+ is pressed is summed into R8, which makes a tally: 1 ENTER↑ before the ages of the women and 0 before the men, and Σy is the number of women.
s is the sample deviation (n − 1). Multiply by √((n − 1)/n) for the population.
Three constants on the digit keys 7, 8 and 9, each performing an automatic ENTER↑: key the quantity, press gold and the constant, then × for metric or ÷ for U.S. units.
7.62 — inches to centimetres500 ■ kg/lb ÷1102.31 — pounds16 ■ ltr/gal ÷4.23 — gallons7 ■ ltr/gal × ■ cm/in 12 × 5280 × EEX 5 ÷ ÷16.47 — km/l to miles per gallonThe values are 2.54 cm per inch, 0.45359237 kg per pound and 3.785411784 l per U.S. gallon, all to ten digits and cited to the National Bureau of Standards.
An improper operation makes the display blink; CLx, or any key that does not cause another error, stops it. The list is short and worth knowing: division by zero, y^x with a negative base, √, ln or log of a negative, 1/x of zero, n! of a non-integer, x̄,s with fewer than two entries, D.MS conversion beyond 100,000°, SIN⁻¹ or COS⁻¹ beyond ±1.
1.000000000 08 — too wide for FIX 8, so shown in full■ FIX 3 .000396 ENTER↑0.000 — the number is intact; FIX 6 shows itOverflow shows ±9.999999999 99; underflow shows zero. All decimal points lit means two to five minutes of battery. Everything else about accuracy is as on the HP-35: ten digits, one count in the last place for arithmetic, a few counts of argument for the functions.
The Owner’s Handbook (Rev. 11/74, 60 pages) is the source for this sheet, with a keyboard summary and index at the back and a stack-algorithm flowchart in Appendix A. The Quick Reference Guide is a 24-page digest that shipped in the case. Both are at literature.hpcalc.org with the HP-45 Applications book and key-sequence forms.
The HP-45 is famous for one thing the handbook never mentions: a stopwatch, left in the firmware and reachable by a key combination, which HP did not document because the crystal was not accurate enough to sell as a feature. This sheet documents only what the handbook does.
Keyboard drawn from Figure 1 of the handbook. Every keystroke sequence and result here is either the handbook’s own or was checked arithmetically.
The X column is the display in FIX 2; the registers are shown to the same two places. R6 accumulates Σx² throughout and is not needed here. Numbers are ten-digit values inside the machine.
Two vectors are given in polar form, 8 at 30° and 12 at 60°. Their sum is wanted in polar form too. The HP-45 has no vector keys, but it has three things that combine into one: a polar-to-rectangular conversion, a summation key that adds X and Y into registers, and a rectangular-to-polar conversion.
Clear first. Σ+ adds to R5–R8; it never resets them. Gold CLEAR empties the stack and those registers and leaves R1–R4 alone.
Each vector goes in as θ ENTER↑ r, the order →R wants: the value that lands in Y is keyed first. →R returns x in X and y in Y, and Σ+ sums x into R7 and y into R8 in one press, displaying the count so far.
RCL Σ+ is the reverse of Σ+ for the two sums: Σx to X and Σy to Y at once. That is exactly the arrangement →P wants — x in X, y in Y — so one key gives the magnitude and x⇄y the angle.
19.35x⇄y48.07Checked: 12 cos 60° + 8 cos 30° = 6 + 6.9282 = 12.9282; 12 sin 60° + 8 sin 30° = 10.3923 + 4 = 14.3923; √(12.9282² + 14.3923²) = 19.3462 and arctan (14.3923 / 12.9282) = 48.0675°.
Subtracting a vector is the same with Σ− instead of Σ+. The angular mode must be degrees for these figures; →R uses R9 for scratch, so keep nothing there.