---
title: math.Mod
description: Returns the modulus of two integers.
categories: []
keywords: []
action:
  aliases: [mod]
  related:
    - functions/math/ModBool
  returnType: int64
  signatures: [math.Mod VALUE1 VALUE2]
---

```go-html-template
{{ mod 15 3 }} → 0
```
