The first pocket calculator with logarithms and trigonometry: ten digits, a range of 10⁻⁹⁹ to 10⁹⁹, a four-register RPN stack, one memory register and thirty-five keys that each do exactly one thing. This sheet is the keyboard drawn from the manual’s cover, a guide to how the machine thinks — the stack, the automatic lift, the power-first x^y, the things it cannot do and how the manual does them anyway — then an index of every key and behaviour with its page in the Operating Manual, and the manual’s mortgage example traced through the stack one key at a time.
Source: HP-35 Operating Manual, HP 00035-90008 Rev. 8/73 (Hewlett-Packard, Cupertino, 1973); the HP-35 Errata Sheet; and David S. Cochran, The HP-35 Design: A Case Study in Innovation (2010). Page numbers are the manual’s printed pages.Small black keys carry the functions, with their names printed on the case above them; the blue keys are the ones you press most — ENTER↑, the four operators and the three that change or clear an entry — and the large light keys are the digits, the point and π. There is no shift key. The one prefix is arc, which makes the next trigonometric key its inverse.
Function keys are on ½-inch centres and the digits on 11/16-inch centres: the design study says the numeric keys were made larger and given the strongest contrast because they are pressed most, and the rest were shrunk so that a finger cannot hit two at once.
The power switch is a slide above the keys; ON shows 0. in the display.
The HP-35 keeps its working numbers in a stack of four registers, X at the bottom and T at the top, and the display always shows X. ENTER↑ pushes a copy of X up into Y; an operator takes Y and X, leaves the answer in X and drops everything above. The manual’s own trace of (3 × 4) + (5 × 6):
Two rules explain everything else. A number keyed after an answer lifts the stack automatically, so ENTER↑ is only needed between two numbers you key yourself. And when the stack drops, t is copied into both T and Z — a constant placed in T is reused every time an operator is pressed.
The trigonometric functions borrow T as scratch space (z replaces t), which the manual notes on page 17. Nothing else touches it.
The display is ten mantissa digits with their own sign, and a two-digit exponent with its own sign. Numbers between 10⁻² and 10¹⁰ are shown plainly with trailing zeros blanked; anything larger or smaller is shown as a mantissa and an exponent, and 9.999999999 99 is what overflow looks like.
There is no FIX key: the machine always shows every significant digit it has. When the batteries run low every decimal point lights, and because the true point owns a whole digit position the number is still readable.
Every function has its own key, and the only prefix on the machine is arc, which turns the next sin, cos or tan into its inverse. That is why there are no hyperbolics, no x², no 10^x and no radians: what is not on the keyboard is not in the machine, and the manual shows how to build each from what is.
9. — x²2 ENTER↑ 10 xy100. — 10^x, the power keyed first512 ENTER↑ 9 1/x x⇄y xy2. — a ninth root30 ENTER↑ π × 180 ÷ sinsin of 30 keyed as radians would beThe case-study explains the count: the earlier desktop HP 9100 had suggested the design, and once the keyboard was settled the calculator was named after it.
The HP-35 of 1972 is the first pocket calculator with transcendental functions: logarithms, exponentials and trigonometry in a case that fits a shirt pocket, with ten-digit accuracy and a range of 10⁻⁹⁹ to 10⁹⁹. Bill Hewlett asked for a shrunken HP 9100; the manual calls it “a high precision portable electronic slide rule”.
It works in RPN on a four-register stack, has one memory register, no shift key and no display formatting. Three nickel-cadmium cells give three to five hours; fourteen hours on the charger fills them, and it runs from the charger meanwhile.
HP planned 100,000 units and sold far more. The manual’s foreword invites you to check that 355/113 approximates π to within 8.47 millionths of one percent before reading anything else.
Digits and the point go in left to right. CHS works before or after the digits; EEX ends the mantissa and takes a power of ten, with CHS after it for a negative exponent. A wrong entry is cleared with CLx and keyed again.
9.109 -31 — the mass of an electronEEX 61. 06 — an exact power of ten needs no mantissa3 CHS-3.CLx0. — only X is clearedTrailing zeros after the point are blanked, and answers outside 10⁻² to 10¹⁰ switch to scientific notation by themselves: 987654 ENTER↑ × shows 9.754604237 11.
It is not necessary to clear between problems. CLR clears the stack when you want a clean start.
Key the first number, press ENTER↑, key the second, press the operator: the answer appears at once. Like an adding machine, + adds the last entry to what is already there and − subtracts it; × and ÷ do the same with the last entry.
15.12 ENTER↑ 3 ÷4.1 ENTER↑ 3 + 5 + 7 + 9 +25. — no ENTER↑ after the first12 ENTER↑ 1.58 × 8 ENTER↑ 2.67 × +40.32 — a sum of productsAfter any answer a new number lifts the stack automatically, so a serial calculation needs ENTER↑ only once. Sums of products and products of sums fall out of the stack with no intermediate result written down.
ENTER↑ then + doubles a number; ENTER↑ then × squares it.
Four registers, X on the bottom and displayed. ENTER↑ copies X into Y and pushes the rest up, losing T. An operator combines Y and X, drops the stack and copies T into Z.
Two exceptions to the automatic lift: a number keyed right after ENTER↑ or CLx overwrites X rather than pushing it. And R↓ after a string of digits terminates the number, so no more digits can be appended.
The trigonometric keys use T for scratch; keep nothing there across a sin, cos, tan or arc.
One constant register. STO copies X into it; RCL brings a copy back, lifting the stack like a keyed number unless it directly follows ENTER↑, CLx or STO.
25. stored, and still in X1 RCL ÷.04 — 4% of the total3 RCL ÷.129 RCL ÷.36Computations never touch it. It is the only place, other than T, that a number survives a long calculation.
x^y raises the displayed number to the power that was keyed first: enter the power, ENTER↑, then the base. The power can be any number, and the result comes from logarithms, so the last digit may be off — 8^(2/3) shows 3.999999999.
128. — 2⁷17 ENTER↑ 1.05 xy2.292018319 — $1 at 5% for 17 years512 ENTER↑ 9 1/x x⇄y xy2. — the ninth root of 5122 ENTER↑ 10 xy100. — antilog₁₀ 21 ex2.718281828ln and log take the logarithm of x to base e and base 10; e^x is the natural antilogarithm. There is no 10^x key: use x^y with 10 as the base. √x and 1/x replace x by its root or reciprocal.
The manual’s altimeter: 25000 ENTER↑ 30 ENTER↑ 9.4 ÷ ln × gives 29,012 feet from a barometer reading of 9.4 inches — “we suspect you may be on Mt. Everest”.
sin, cos and tan take x in decimal degrees — there is no radians or grads mode. arc pressed first turns the next of them into its inverse, with the answer in decimal degrees.
.5075383628.7 CHS arc cos134.42700435 ENTER↑ 17 ENTER↑ 47 ENTER↑ 60 ÷ + 60 ÷ +35.29638889 — 35° 17′ 47″ as decimal degrees3 ENTER↑ × 4 ENTER↑ × + √x5. — a hypotenuseDegrees-minutes-seconds and radians are converted by hand, as above. The functions use the T register while they work, so t is lost each time.
The manual’s problem 7 does polar and rectangular conversion the long way: x = R cos θ, y = x tan θ; θ = arc tan (y/x), R = y / sin θ.
The four operators, 1/x and √x are correct to one count in the tenth digit. The transcendental functions are exact for some argument within a few counts of the one you keyed — 2 for logs and e^x, 3 for trigonometry, 4 and 7 for the two operands of x^y.
4.999999998 — no ten-digit number squares to 55 ln1.609437912 — the log of some number in 4.999999998 … 5.0000000021 ENTER↑ 0 ÷0. blinking — press CLxAn improper operation — division by zero, √ or a logarithm of a negative, arc sin or arc cos of more than 1 — makes the display blink. Any number of magnitude 10¹⁰⁰ or more shows as 9.999999999 99; anything below 10⁻⁹⁹ shows as zero.
HP’s errata sheet lists the known wrong answers: e^x is off by up to one percent for 0.7030975114 (that is ln 2.02) and a few related arguments, and the arc functions misbehave for 0.0002 and right at 45°. Dropping the last digit of the argument works around the first; HP replaced calculators for owners who asked.
The Operating Manual is 36 pages and worth reading whole: two sections on using the machine, sample problems with keystroke solutions, and a flowchart algorithm for evaluating any expression on a stack machine. The Errata Sheet is two pages. Both are at literature.hpcalc.org, along with the Math Pac and Surveying Pac of worked problems.
David Cochran’s The HP-35 Design: A Case Study in Innovation is the designer’s own account — the pMOS chips, the microcode, why 35 keys, and the day the first order for 10,000 arrived. The HP-45 and HP-65 that followed keep this keyboard and stack; their sheets are linked in the footer.
Keyboard drawn from the manual’s cover photograph. Every keystroke sequence and result here is either the manual’s own or was checked arithmetically.
The X column is what the display shows after each key; the manual prints the same table with the numbers rounded as here. Dashes are registers whose contents no longer matter. Numbers shown to four or five places are ten-digit values in the machine.
Find the monthly payment on a 30-year, $30,000 loan at 6% a year — 0.005 a month, 360 payments. The formula is
payment = principal × rate ÷ (1 − 1 / (1 + rate)^payments)
On a machine with one memory register and no parentheses this is a test of the stack, and the manual works it as a showpiece: the numerator is computed first and parked, the denominator built on top of it, and one ÷ finishes.
The numerator takes three keys and leaves 150 in X. Keying 1 then lifts it into Y automatically; ENTER↑ 360 ENTER↑ 1.005 push it to T. This is the whole trick of the example — the number you will need last is put in first and rides up the stack.
x^y is the key to watch. It raises the number in X (1.005) to the power in Y (360), so the power was keyed before the base. The stack drops and, as it always does on a drop, the 150 in T is duplicated into Z. 1/x and − finish the denominator, and every drop leaves another 150 behind: by the last line the stack is three copies of the numerator and the denominator.
÷ divides 150 by 0.83395 and shows the payment:
179.8651575The manual rounds the trace to 179.86; the full display is 179.8651575, which is what the closed-form formula gives to ten digits.
Two other page-9 figures for checking a machine: $1 at 5% for 17 years is 17 ENTER↑ 1.05 x^y = 2.292018319, and a growth from 926 to 1370 over seven years is 1.37 EEX 9 ENTER↑ 926 EEX 6 ÷ 7 1/x x^y = 1.057551118, a rate of 5.755%.