# JavaScript Arithmetic Operators

Arithmetic operators are used in JavaScript to perform arithmetic operations on values, such as addition, subtraction, multiplication, and division. Here are some examples:

1) Addition (+): This operator is used to add two or more values together. For example:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1679301053214/38a48bfc-c508-4a0a-a692-3edb8072e9d9.jpeg align="center")

2) Subtraction (-): This operator is used to subtract one value from another. For example:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1679301073206/d6f46f6f-d814-4bbd-bf05-0d6f6b9a3283.jpeg align="center")

3) Multiplication (\*): This operator is used to multiply two or more values together. For example:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1679301110108/c0bd72da-690d-4336-a9ce-8163c1c8e1a6.jpeg align="center")

4) Division (/): This operator is used to divide one value by another. For example:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1679301133169/cdfee5c5-4421-400c-98a3-e81559d6d256.jpeg align="center")

5) Modulo (%): This operator is used to find the remainder of a division operation. For example:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1679301148952/9e109747-bd4a-486c-804e-d49d5426b24e.jpeg align="center")

6) Increment (++) and Decrement (--): These operators are used to increase or decrease the value of a variable by 1. For example:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1679301171990/2742cd36-40b9-465e-b467-f87702696193.jpeg align="center")

These are some examples of arithmetic operators in JavaScript. There are also other operators such as exponentiation (\*\*), which is used to raise a value to a power, and assignment operators (+=, -=, \*=, /=, %=), which combine arithmetic operations with assignment.

That's it for JavaScript Arithmetic Operators. Thanks for learning ❤️
