---
title: "MOD function in Excel: syntax and examples | PracticeExcel"
description: "How to use MOD in Excel and Google Sheets: remainders, every n-th row and odd or even numbers."
canonical_url: "https://practiceexcelonline.com/functions/mod"
locale: en
meta:
  "og:description": "How to use MOD in Excel and Google Sheets: remainders, every n-th row and odd or even numbers."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TU9EIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBNT0QgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHJlbWFpbmRlcnMsIGV2ZXJ5IG4tdGggcm93IGFuZCBvZGQgb3IgZXZlbiBudW1iZXJzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TU9EKG51bWJlciwgZGl2aXNvcik%2Cp_Ii9mdW5jdGlvbnMvbW9kIg%2Cs_iTKA6bVZ6hje_qn6.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "MOD function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TU9EIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBNT0QgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHJlbWFpbmRlcnMsIGV2ZXJ5IG4tdGggcm93IGFuZCBvZGQgb3IgZXZlbiBudW1iZXJzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TU9EKG51bWJlciwgZGl2aXNvcik%2Cp_Ii9mdW5jdGlvbnMvbW9kIg%2Cs_iTKA6bVZ6hje_qn6.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The MOD function**

Returns the remainder after division. The result has the same sign as the divisor.

=

MOD(

## **Syntax**

```
MOD(number, divisor)
```

<dl><dt>**number **</dt>
<dd>The number to divide.</dd>
<dt>**divisor **</dt>
<dd>The number to divide by.</dd></dl>

## **Examples**

B1`=MOD(<sup>1</sup>10,<sup>2</sup>3)`

|  | A | B |
| --- | --- | --- |
| 1 |  | **1** |

**In plain words:** The remainder when <sup>1</sup>10 is divided by <sup>2</sup>3.

B1=MOD(-3,4)

|  | A | B |
| --- | --- | --- |
| 1 |  | **1** |

## **Read the guide**

- [**Conditional formatting in Excel: highlight cells and rows with rules and formulas**](https://practiceexcelonline.com/learn/conditional-formatting-excel)

## **Related functions**

- [**INT**](https://practiceexcelonline.com/functions/int)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/mod#webpage","@type":"WebPage","description":"How to use MOD in Excel and Google Sheets: remainders, every n-th row and odd or even numbers.","name":"MOD function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/mod","breadcrumb":{"@id":"https://practiceexcelonline.com/functions/mod#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/mod"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/mod#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"MOD function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/mod#article","description":"How to use MOD in Excel and Google Sheets: remainders, every n-th row and odd or even numbers.","headline":"MOD function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TU9EIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBNT0QgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHJlbWFpbmRlcnMsIGV2ZXJ5IG4tdGggcm93IGFuZCBvZGQgb3IgZXZlbiBudW1iZXJzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TU9EKG51bWJlciwgZGl2aXNvcik%2Cp_Ii9mdW5jdGlvbnMvbW9kIg%2Cs_iTKA6bVZ6hje_qn6.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/mod#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/mod#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TU9EIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBNT0QgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHJlbWFpbmRlcnMsIGV2ZXJ5IG4tdGggcm93IGFuZCBvZGQgb3IgZXZlbiBudW1iZXJzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TU9EKG51bWJlciwgZGl2aXNvcik%2Cp_Ii9mdW5jdGlvbnMvbW9kIg%2Cs_iTKA6bVZ6hje_qn6.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~TU9EIGZ1bmN0aW9uIGluIEV4Y2VsOiBzeW50YXggYW5kIGV4YW1wbGVz%2Cdescription_~SG93IHRvIHVzZSBNT0QgaW4gRXhjZWwgYW5kIEdvb2dsZSBTaGVldHM6IHJlbWFpbmRlcnMsIGV2ZXJ5IG4tdGggcm93IGFuZCBvZGQgb3IgZXZlbiBudW1iZXJzLg%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_~TU9EKG51bWJlciwgZGl2aXNvcik%2Cp_Ii9mdW5jdGlvbnMvbW9kIg%2Cs_iTKA6bVZ6hje_qn6.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
