Windows Calculator
This article needs additional citations for verification. (December 2008) (Learn how and when to remove this template message)

A component of Microsoft Windows  

Calculator in Windows 10 in light mode


Details  
Type  Software calculator 
Included with  All versions of Microsoft Windows 
Windows Calculator is a software calculator included in all versions of Windows.
Contents
History
A simple arithmetic calculator was first included with Windows 1.0.^{[1]}
In Windows 3.0, a scientific mode was added, which included exponents and roots, logarithms, factorialbased functions, trigonometry (supports radian, degree and gradians angles), base conversions (2, 8, 10, 16), logic operations, statistical functions such as single variable statistics and linear regression.
In Windows 98 and later, it uses an arbitraryprecision arithmetic library, replacing the standard IEEE floating point library.^{[2]} It offers bignum precision for basic operations (addition, subtraction, multiplication, division) and 32 digits of precision (128 bits internally actual precision, 38.5 digits, which can be verified by calculating a square root on the calc and a more precise product, or doing the same calculation two different ways) for advanced operations (square root, transcendental functions). The largest value that can be represented on the Windows Calculator is currently <10^{10,000} and the smallest is 10^{−9,999}. (Also ! calculates factorial function not just factorial so one can get 4.7! ).
In Windows 2000, digit grouping is added. Degree and base settings are added to menu bar.
Windows 7
In Windows 7, separate programmer, statistics, unit conversion, date calculation and worksheets modes were added. Tooltips were removed. Furthermore, Calculator's interface was revamped for the first time since its introduction. The base conversion functions were moved to the programmer mode and statistics functions were moved to the statistics mode. Switching between modes does not preserve the current number, clearing it to 0.
In every mode except programmer mode, one can see the history of calculations. The app was redesigned to accommodate multitouch. Standard mode behaves as a simple checkbook calculator; entering the sequence gives the answer 25. In scientific mode, order of operations is followed while doing calculations (multiplication and division are done before addition and subtraction), which means .
In programmer mode, inputting a number in decimal has a lower and upper limit, depending on the data type, and must always be an integer. Data type of number in decimal mode is signed nbit^{[3]} integer when converting from number in hexadecimal, octal, or binary mode.
Data type  Size of data type (bits)  Lower limit  Upper limit 

Byte  8  128  127 
Word  16  32,768  32,767 
Dword  32  2,147,483,648  2,147,483,647 
Qword  64  9,223,372,036,854,775,808  9,223,372,036,854,775,807 
On the right of the main Calculator, one can add a panel with date calculation, unit conversion and worksheets. Worksheets allow one to calculate a result of a chosen field based on the values of other fields. Predefined templates include calculating a car's fuel economy (mpg and L/100 km),^{[4]} a vehicle lease, and a mortgage. In prebeta versions of Windows 7, Calculator also provided a Wages template.
Windows 8.1
While the traditional Calculator is still included with Windows 8.1, a Metrostyle Calculator is also present, featuring a fullscreen interface as well as normal, scientific, and conversion modes.^{[5]}
Windows 10
The Calculator in nonLTSB editions of Windows 10 is a universal Windows app. In contrast, Windows 10 LTSB (which does not include universal Windows apps) includes the traditional calculator, but which is now named win32calc.exe
. Both calculators provide the features of the traditional calculator included with Windows 7, such as a unit conversions for volume, length, weight, temperature, energy, area, speed, time, power, data, pressure and angle, and the history list which the user can clear.
Both the universal Windows app and LTSB's win32calc.exe
register themselves with the system as handlers of a 'calculator:
' pseudoprotocol. This registration is similar to that performed by any other wellbehaved application when it registers itself as a handler for a filetype (e.g. .jpg
) or protocol (e.g. http:
).
All Windows 10 editions (both LTSB and nonLTSB) continue to have a calc.exe
, which however is just a stub that launches (via ShellExecute) the handler that is associated with the 'calculator:
' pseudoprotocol. As with any other protocol or filetype, when there are multiple handlers to choose from, users are free to choose which handler they prefer— either via the classic control panel ('Default programs' settings) or the immersive UI settings ('Default Apps' settings) or from the command prompt via OpenWith calculator:
.
Features
By default, Calculator runs in standard mode, which resembles a fourfunction calculator. More advanced functions are available in scientific mode, including logarithms, numerical base conversions, some logical operators, operator precedence, radian, degree and gradians support as well as simple singlevariable statistical functions. It does not provide support for userdefined functions, complex numbers, storage variables for intermediate results (other than the classic accumulator memory of pocket calculators), automated polarcartesian coordinates conversion, or support for twovariables statistics.
Calculator supports keyboard shortcuts; all Calculator features have an associated keyboard shortcut.^{[6]}
Calculator in hexadecimal mode cannot accept or display a hexadecimal number larger than 16 hex digits. The largest number it can handle is therefore 0xFFFFFFFFFFFFFFFF (decimal 18,446,744,073,709,551,615). Any calculations in hex mode which exceed this limit will display a result of zero, even if those calculations would succeed in other modes. In particular, scientific notation is not available in this mode.
Calculator Plus
Calculator Plus is a separate application for Windows XP and Windows Server 2003 users that adds a 'Conversion' mode over the Windows XP version of the Calculator. The 'Conversion' mode supports unit conversion and currency conversion. Currency exchange rates can be updated using the builtin update feature, which downloads exchange rates from the European Central Bank.
See also
References
 ^ Windows 1.01  Graphical User Interface Gallery
 ^ The Old New Thing Blog: When you change the insides, nobody notices
 ^ Where n is either: 8 for Byte, 16 for Word, 32 for Dword, or 64 for Qword.
 ^ Calculate Fuel Economy  Windows 7 (MalekTips)
 ^ "HandsOn with Windows 8.1: New Utility Apps". Paul Thurrott's Supersite for Windows. Retrieved September 24, 2013.
 ^ "Keyboard shortcuts". Windows 8 Help. Microsoft. Retrieved 11 March 2013.
External links
 Windows Calculator on Microsoft Store
 Microsoft Calculator Plus
 Windows 7 Feature Focus Calculator