Windows Calculator: A simple yet powerful calculator that ships with Windows
Go to file
Tiramisu d65100005c
Higher quality README screenshots (#2172)
* Higher quality, transparent screenshots

* Adjust for HQ screenshots

This commit adjusts the calculator screenshot to be smaller horizontally


Co-authored-by: pikiwedia <>
2024-06-24 13:52:00 +08:00
.config eng: migrate pipelines to 1ES PT (#2080) 2023-10-27 15:25:40 +08:00
.github eng: New CI pipeline with GitHub Action (#2195) 2024-06-21 12:42:03 +08:00
build Use authentication with FC for localization pipeline (#2192) 2024-06-19 15:56:31 +08:00
docs Higher quality README screenshots (#2172) 2024-06-24 13:52:00 +08:00
src eng: New CI pipeline with GitHub Action (#2195) 2024-06-21 12:42:03 +08:00
Tools Rehydrate for Recall (#2176) 2024-05-28 16:08:27 +08:00
.clang-format Secondary formatting changes (#489) 2019-05-02 16:48:33 -07:00
.editorconfig Remove duplicate .editorconfig. (#257) 2019-03-11 17:04:17 -07:00
.gitattributes Allow vcxproj and sln files to merge as text. (#474) 2019-04-24 12:05:19 -07:00
.gitignore Add vscode auto-generated folder to .gitignore (#1842) 2022-06-13 14:22:32 +08:00 Hello GitHub 2019-01-28 16:24:37 -08:00 Update all references to main branch (#1854) 2022-06-24 09:18:31 -07:00
LICENSE Hello GitHub 2019-01-28 16:24:37 -08:00
NOTICE.txt Replace code which starts the WinAppDriver server (#1957) 2023-05-26 07:52:05 -07:00
nuget.config Adding new Settings UX (#2049) 2023-12-04 20:18:32 +08:00 Higher quality README screenshots (#2172) 2024-06-24 13:52:00 +08:00 Update documentation for communicating discovered security vulnerabilities (#657) 2019-09-03 14:12:50 -07:00


The Windows Calculator app is a modern Windows app written in C++ and C# that ships pre-installed with Windows. The app provides standard, scientific, and programmer calculator functionality, as well as a set of converters between various units of measurement and currencies.

Calculator ships regularly with new features and bug fixes. You can get the latest version of Calculator in the Microsoft Store.

Continuous Integration

Calculator Screenshot


  • Standard Calculator functionality which offers basic operations and evaluates commands immediately as they are entered.
  • Scientific Calculator functionality which offers expanded operations and evaluates commands using order of operations.
  • Programmer Calculator functionality which offers common mathematical operations for developers including conversion between common bases.
  • Date Calculation functionality which offers the difference between two dates, as well as the ability to add/subtract years, months and/or days to/from a given input date.
  • Calculation history and memory capabilities.
  • Conversion between many units of measurement.
  • Currency conversion based on data retrieved from Bing.
  • Infinite precision for basic arithmetic operations (addition, subtraction, multiplication, division) so that calculations never lose precision.

Getting started


  • Your computer must be running Windows 11, build 22000 or newer.

  • Install the latest version of Visual Studio (the free community edition is sufficient).

    • Install the "Universal Windows Platform Development" workload.
    • Install the optional "C++ Universal Windows Platform tools" component.
    • Install the latest Windows 11 SDK.

    Visual Studio Installation Screenshot

  • Install the XAML Styler Visual Studio extension.

  • Get the code:

    git clone
  • Open src\Calculator.sln in Visual Studio to build and run the Calculator app.

  • For a general description of the Calculator project architecture see

  • To run the UI Tests, you need to make sure that Windows Application Driver (WinAppDriver) is installed.


Want to contribute? The team encourages community feedback and contributions. Please follow our contributing guidelines.

If Calculator is not working properly, please file a report in the Feedback Hub. We also welcome issues submitted on GitHub.


For information regarding Windows Calculator plans and release schedule, please see the Windows Calculator Roadmap.

Graphing Mode

Adding graphing calculator functionality is on the project roadmap and we hope that this project can create a great end-user experience around graphing. To that end, the UI from the official in-box Windows Calculator is currently part of this repository, although the proprietary Microsoft-built graphing engine, which also drives graphing in Microsoft Mathematics and OneNote, is not. Community members can still be involved in the creation of the UI, however developer builds will not have graphing functionality due to the use of a mock implementation of the engine built on top of a common graphing API.

Diagnostic Data

This project collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. Diagnostic data is disabled in development builds by default, and can be enabled with the SEND_DIAGNOSTICS build flag.

Currency Converter

Windows Calculator includes a currency converter feature that uses mock data in developer builds. The data that Microsoft uses for the currency converter feature (e.g., in the retail version of the application) is not licensed for your use. The mock data will be clearly identifiable as it references planets instead of countries, and remains static regardless of selected inputs.

Reporting Security Issues

Please refer to


Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License.