Windows Calculator


Windows Calculator is a software calculator developed by Microsoft and included in Windows. In its Windows 10 incarnation it has four modes: standard, scientific, programmer, and a graphing mode. The standard mode includes a number pad and buttons for performing arithmetic operations. The scientific mode takes this a step further and adds exponents and trigonometric functions, and programmer mode allows the user to perform operations related to computer programming. In 2020, a graphing mode was added to the Calculator, allowing users to graph equations on a coordinate plane.
The Windows Calculator is one of a few applications that have been bundled in all versions of Windows, starting with Windows 1.0. Since then, the calculator has been upgraded with various capabilities.
In addition, the calculator has also been included with Windows Phone and Xbox One. The Microsoft Store page proclaims HoloLens support as of February 2024, but the Calculator app is not installed on HoloLens by default.

History

A simple arithmetic calculator was first included with Windows 1.0.
In Windows 3.0, a scientific mode was added, which included exponents and roots, logarithms, factorial-based functions, trigonometry, base conversions, logic operations, statistical functions such as single variable statistics and linear regression.

Windows 9x and Windows NT 4.0

Until Windows 95, it uses an IEEE 754-1985 double-precision floating-point, and the highest representable number by the calculator is 21024, which is slightly above 10308.
In Windows 98 and later, it uses an arbitrary-precision arithmetic library, replacing the standard IEEE floating point library. It offers bignum precision for basic operations and 32 digits of precision for advanced operations. The largest value that can be represented on the Windows Calculator is currently and the smallest is..

Windows 2000, XP and Vista

In Windows 2000, digit grouping is added. Degree and base settings are added to menu bar.
The calculators of Windows XP and Vista were able to calculate using numbers beyond 1010000, but calculating with these numbers does increasingly slow down the calculator and make it unresponsive until the calculation has been completed.
Unlike later versions, calculating with binary/decimal/hexadecimal/octal numbers is included into scientific mode.

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.
The highest number is now limited to 1010000 again.
In every mode except programmer mode, one can see the history of calculations. The app was redesigned to accommodate multi-touch. Standard mode behaves as a simple checkbook calculator; entering the sequence 6 * 4 + 12 / 4 - 4 * 5 gives the answer 25. In scientific mode, order of operations is followed while doing calculations, which means 6 * 4 + 12 / 4 - 4 * 5 = 7.
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 n-bit integer when converting from number in hexadecimal, octal, or binary mode.
Data typeData type sizeLower limitUpper limit
Byte8 bit −128127
Word16 bit −32,76832,767
Dword32 bit −2,147,483,6482,147,483,647
Qword64 bit −9,223,372,036,854,775,8089,223,372,036,854,775,807

On the right side 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. Pre-defined templates include calculating a car's fuel economy, a vehicle lease, and a mortgage. In pre-beta 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 Metro-style Calculator is also present, featuring a full-screen interface as well as normal, scientific, and conversion modes.

Windows 10

The Calculator in non-LTSC editions of Windows 10 is a Universal Windows Platform app. In contrast, Windows 10 LTSC includes the traditional calculator, but which is now named. Both calculators provide the features of the traditional calculator included with Windows 7 and Windows 8.x, such as 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 LTSC's register themselves with the system as handlers of a pseudo-protocol. This registration is similar to that performed by any other well-behaved application when it registers itself as a handler for a filetype or protocol.
All Windows 10 editions continue to have a, which however is just a stub that launches the handler that is associated with the
pseudo-protocol. 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 or the immersive UI settings or from the command prompt via.
In the Windows 10 Fall Creators Update, a currency converter mode was added to Calculator.
On 6 March 2019, Microsoft released the source code for Calculator on GitHub under the MIT License.

Windows 11

In Windows 11, the Calculator app's user interface was modified to match the design of Windows 11 and a new settings page is present for users to toggle between the themes of the app without changing the operating system's theme. In 2021, Microsoft announced it would migrate the codebase of the Calculator app to C# in order to welcome more developers to contribute to the app. The community edition of Visual Studio can be easily configured to develop the source code.

Windows Server

The Windows 7 calculator remains the pre-installed default in Windows Server OS versions as of Windows Server 2025, long after Windows 10 made the Universal Windows Platform calculator its default in 2015. The Universal Windows Platform version is available for Windows Server through Microsoft Store or with Windows Package Manager.

Features

By default, Calculator runs in standard mode, which resembles a four-function 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 single-variable statistical functions. It does not provide support for user-defined functions, complex numbers, storage variables for intermediate results, automated polar-Cartesian coordinates conversion, or support for two-variables statistics.
In addition, the programming mode allows conversions between bases 16, 10, 8, and 2, the most commonly used by programmers. In this mode, the on-screen numeric keypad includes the hexadecimal digits A through F, which are active when "Hex" is selected. In hex mode, only integers are supported.
Calculator supports keyboard shortcuts; all Calculator features have an associated keyboard shortcut.
Calculator in programmer mode cannot accept or display a number larger than a signed QWORD. The largest number it can handle is therefore 0x7FFFFFFFFFFFFFFF. Any calculations in programmer mode which exceed this limit will overflow, even if those calculations would succeed in other modes. In particular, scientific notation is not available in this mode.

Issues

  • In Windows 7, 8, and some versions of Windows 10, transcendental function operations, such as the square root operator, would sometimes be calculated incorrectly due to catastrophic cancelation. In newer versions, this doesn't happen with integers, but it still happens when you enter decimal numbers.
  • Older versions of the universal Calculator in non-LTSC editions of Windows 10 doesn't use any regional format that are different from the app's display language for number formatting.
  • In August of 2022, KPMG released a cyber threat intelligence report stating the Windows 7 version of the calculator was actively being exploited to install the malicious software QBot.

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 built-in update feature, which downloads exchange rates from the European Central Bank.