The HP-21 Calculator on an iPhone, and Beyond
GO-21 brings the classic 1975 HP-21 scientific calculator to your Apple devices, including its signature RPN (Reverse Polish Notation) style of entering data and performing calculations.
Development commenced in late 2008 using the iPhone OS 2 SDK. Version 1.0 of the App, for the iPhone 3G running iPhone OS 3, debuted on the new App Store in the summer of 2009.
The hardest part of building the App was squeezing a 5.1" tall HP-21 into a squat 3.5" diagonal iPhone display — there were tradeoffs between authenticity, aspect ratio of the calculator and a touch user interface.
Possible scenarios were:
- Place the entire HP-21 in its correct aspect ratio. The calculator looked authentic although shrunken, with unused space on either side, and the buttons were tiny and impossible to touch reliably.
- Stretch the calculator sideways into the unused area, making the buttons wider (although not taller), but touches were still too unreliable and the calculator's aspect ratio became unacceptably distorted.
- Crop the calculator bezel (the option chosen), effectively zooming in so buttons were large enough to tap effectively. The aspect ratio was slightly off, but reliable typing came first and perfect looks second.
This is how the App's aspect ratio adapts to a device's screen size:
- 3.5-inch displays rely on the fully cropped calculator view .
- 4.0-inch and 4.7-inch displays are taller and permit a slightly more accurate aspect ratio while maintaining reliable touch targets.
- All iPads display the entire calculator and its bezel in the proper aspect ratio.
- iPhones with a display 5.4-inches or greater also show the HP-21 and bezel at the proper aspect ratio.
(Incidentally, these iPhones have an Accesibility option Magnify Calculator that brings back the fully cropped and zoomed-in look for eyes that prefer the larger appearance.)
GO-21 has always run on every iPhone, iPod Touch, and iPad, and now it's available for Mac and Apple TV as well.
 
HP-21 and iOS Devices Shown to Scale
 
macOS and tvOS Devices Shown to Scale