ArticleslgStudy

computer science

HP-65

HP-65 is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand HP-65 rather than just read about it. In short: The HP-65 is the first handheld programmable calculator, and it included a magnetic card read/write system for program storage. Introduced by Hewlett-Packard in January 1974 at an MSRP of $795 (equivalent to $5,190 in 2025), it featured nine storage registers and room for 100 keystroke instructions.

HP-65 — main illustration
HP-65 — illustration

Key takeaways

  • HP-65 belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect HP-65 to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of HP-65 from memory before moving on to harder problems.

Reference excerpt

The HP-65 is the first handheld programmable calculator, and it included a magnetic card read/write system for program storage. Introduced by Hewlett-Packard in January 1974 at an MSRP of $795 (equivalent to $5,190 in 2025), it featured nine storage registers and room for 100 keystroke instructions. It also included a magnetic card reader/writer to save and load programs. Like all Hewlett-Packard calculators of the era and most since, the HP-65 used reverse Polish notation (RPN) and a four-level automatic operand stack. Bill Hewlett's design requirement was that the calculator should fit in his shirt pocket. That is one reason for the tapered depth of the calculator. The magnetic program cards are fed in at the thick end of the calculator under the LED display. The documentation for the programs in the calculator is extensive, including algorithms for hundreds of applications, including the solutions of differential equations, stock price estimation, statistics, and so forth.

Features The HP-65 introduced the "tall", trapezoid-shaped keys that would become iconic for many generations of HP calculators. Each of the keys had up to four functions. In addition to the "normal function" printed on the key's face, a "gold" function printed on the case above the key and a "blue" function printed on the slanted front surface of the key were accessed by pushing the gold f or blue g prefix key, respectively. For example, f followed by 4 would access the sine function, or g followed by 4 would calculate 1/x. For some mathematical functions, a gold f−1 prefix key would access the inverse of the gold-printed functions, e.g. f−1 followed by 4 would calculate the inverse sine (sin−1). Functions included square root, inverse, trigonometric (sine, cosine, tangent and their inverses), exponentiation, logarithms and factorial. The HP-65 was one of the first calculators to include a base conversion function, although it only supported octal (base 8) conversion. It could also perform conversions between degrees/minutes/seconds (sexagesimal) and decimal degree (sexadecimal) values, as well as polar/cartesian coordinate conversion.

Programming

The HP-65 had a program memory for up to 100 instructions of six bits which included subroutine calls and conditional branching based on comparison of x and y registers. Some (but not all) commands entered as multiple keystrokes were stored in a single program memory cell. When displaying a program, the key codes were shown without line numbers. A program could be saved to mylar-based magnetically coated cards measuring 71 mm × 9.5 mm (2.8 in × 0.4 in), which were fed through the reader by a small electric motor through a worm gear and rubber roller at a speed of 6 cm/s (2.4 in/s). The recording area used only half of the width of the card. While reversing the card to store a second program was possible, it was officially discouraged (unlike in later models such as the HP-67) because the other half of the card was touched by the rubber wheel during transport, causing extra abrasion. When inserted into an extra slot between the display and the keyboard, the printing on top of the card would correspond to the top row of keys (A - E), which served as shortcuts to the corresponding program entry points.

Cards could be write-protected by diagonally clipping the top-left corner of the card. HP also sold a number of program collections for scientific and engineering applications on sets of prerecorded (and write-protected) cards. The HP-65 had an issue/design flaw whereby storage register R9 was corrupted whenever the user (or program) executed trigonometric functions or performed comparison tests; this kind of issue was common in many early calculators, caused by a lack of memory due to cost, power, or size considerations. Since the limitation was intended from the beginning and documented in the manual, it is not, strictly speaking, a bug.

Significant applications During the 1975 Apollo–Soyuz Test Project, the HP-65 became the first programmable handheld calculator in outer space. Two HP-65s were carried on board the Apollo spacecraft. Calculation of parameters for the several thrusting maneuvers needed to rendezvous with the Soyuz spacecraft was done on the HP-65 and compared with the results calculated by the onboard Apollo Guidance Computer. Another program for the HP-65 allowed the crew to compute pointing angles for the spacecraft antenna for aiming at the ATS-6 communications relay satellite. In the same year, Mitchell Feigenbaum, using the small HP-65 calculator he had been issued at the Los Alamos National Laboratory, discovered that the ratio of the difference between the values at which successive period-doubling bifurcations occur tends to a constant of around 4.6692... This "ratio of convergence" became known as the first Feigenbaum constant.

See also HP-25 HP-35 65 Notes

References

External links The HP-65 at an unofficial Hewlett-Packard museum (MyCalcDB); includes a photograph of the magnetic card. 1975 HP Calculator Christmas Guide HP's Virtual Museum: HP-65 HP-65 page at the unofficial Museum of HP Calculators One of the HP-65s carried on the ASTP space flight is in the collection of the National Air and Space Museum.

Illustrations

HP-65 illustration
HP-65: HP-65 in original hard case with manuals, software "Standard Pac" of magnetic cards, soft leather case, and charger
HP-65 in original hard case with manuals, software "Standard Pac" of magnetic cards, soft leather case, and charger
HP-65: Calculator with a magnetic storage card in the slit of the card reader on the side of the device
Calculator with a magnetic storage card in the slit of the card reader on the side of the device
HP-65: HP magnetic card
HP magnetic card
HP-65: HP-65 display after result of test program from card reader
HP-65 display after result of test program from card reader

Worked examples

Example 1 — a first encounter with HP-65

Start with the simplest possible case. Write down what HP-65 claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to HP-65 before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about HP-65 ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of HP-65

In research
HP-65 appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses HP-65 in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
HP-65 is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer-related introductions in 1974, HP programmable calculators, so understanding it makes those chapters shorter.
In everyday life
Look for HP-65 outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “HP-65” →

How to study HP-65 in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what HP-65 means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain HP-65 out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is HP-65 in simple terms?

The HP-65 is the first handheld programmable calculator, and it included a magnetic card read/write system for program storage. Introduced by Hewlett-Packard in January 1974 at an MSRP of $795 (equivalent to $5,190 in 2025), it featured nine storage registers and room for 100 keystroke instructions.

Why does HP-65 matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study HP-65?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on HP-65.

Tags

  • Computer-related introductions in 1974
  • HP programmable calculators

Keep exploring