Skip to main content

Numbers, Units & Calculators

MOD Calculator

Calculate a result with MOD from the values you enter. Enter the required values, adjust the options, and review the calculated result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Options

Your result appears here

Calculate a result with MOD from the values you enter. Enter the required values, adjust the options, and review the calculated result.

This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.

MOD Calculator computes each parsed number modulo a selected modulus.

It returns 0 1 1. The calculation runs in your browser. Processing runs in the browser.

Instructions

  1. Provide values for this tool.
  2. Enter a numeric list.
  3. Set modulus and delimiter.
  4. Review the text result.

Example

Input: 15 4 7

Settings: MOD Calculator: Modulus: 3; delimiter: space.

Result: It returns 0 1 1.

Limits

  • MOD Calculator: Non-numeric items are ignored.
  • MOD Calculator: A zero modulus is invalid.
  • MOD Calculator: The result depends on delimiter parsing.