## About this lesson

How to do basic math with Ruby.

## Exercise files

Download this lessonâ€™s related exercise files.

Arithmetic Operators.docx58.6 KB Arithmetic Operators - Solution.docx

58.7 KB

## Quick reference

### Arithmetic Operators

Doing basic math with Ruby is a breeze.

### When to use

There are many different reasons for using math when coding, you'll use this a lot!

### Instructions

Here are the basic math operators:

+ Addition

- Subtraction

* Multiplication

/ Division

** Exponents

% Modulus

### Hints & tips

- Math is super easy with Ruby!

Lesson notes are only available for subscribers.