Though Windows 11/10 also brings its Calculator app that provides a standard, programmer, scientific, and other types of calculator, for those who want to perform basic Math (or elementary arithmetic operations without decimal points) using Command Prompt, this post is helpful.
Perform Arithmetic operations in Command Prompt
At first, you need to launch Command Prompt using the Windows Search box or Run command box. After that, you can execute the commands.
1] Addition
The command to do addition for two or more numbers is: Replace num1, num2, etc., with actual numbers (like 5, 10, or something else) and press Enter. This will show the result. Alternatively, you can execute the addition command like: Again, replace num1, num2 values with actual numbers and it will show the addition result.
2] Division
For division operation, the command is: You can also perform multiplication and division operations together. The command would be: Execute the command and it will provide the output.
3] Subtraction
The subtraction command is also very simple. You can perform it for two or more numbers. Here it is: Add actual numbers and the result will be in front of you. In addition to that, you can also perform subtraction with addition, multiplication, and/or division operations in one go. The command would be:
4] Multiplication
To perform multiplication using Command Prompt, the command is: Alternatively, you can also execute this command like this: Multiplication can also be done with addition, subtraction, and division together. Just add numbers accordingly and get the result. This is how you can do Arithmetic operations in Command Prompt.