Modulo Calculator

Computes the modulo of each number in a list with a given modulus value. Numbers are extracted from the input based on the delimiter, and non-numeric values are ignored.

Input: TextResult: Text

Text input

Tool options

Examples

Basic modulo operation

Input

15 4 7

Expected answer

0 1 1
Modulus
3
Delimiter
Space
Colon separated numbers

Input

25:9:14:7

Expected answer

1 1 2 3
Modulus
4
Delimiter
Colon
Comma-separated numbers

Input

15,8,23,16,5

Expected answer

1 1 2 2 5
Modulus
7
Delimiter
Comma
CRLF separated numbers

Input

fad0177e759784a578d51686.bin

14 bytes

Download

Expected answer

0 0 4 5
Modulus
6
Delimiter
CRLF
Decimal numbers

Input

10.5 15.7 8.2

Expected answer

1.5 0.7 2.2
Modulus
3
Delimiter
Space
Floating point precision

Input

10.123456789 20.987654321

Expected answer

1.123456789 2.987654321
Modulus
3
Delimiter
Space
Large numbers

Input

123456789012345 987654321098765

Expected answer

123456789012345 987654321098765
Modulus
1234567890123456
Delimiter
Space
Line feed separated numbers

Input

25
13
44
7

Expected answer

0 3 4 2
Modulus
5
Delimiter
Line feed
Mixed with non-numeric values

Input

15 abc 4 def 7 xyz 23

Expected answer

0 1 1 2
Modulus
3
Delimiter
Space
Modulus of 2 (even/odd check)

Input

1 2 3 4 5 6 7 8 9 10

Expected answer

1 0 1 0 1 0 1 0 1 0
Modulus
2
Delimiter
Space

e.g. 15 4 7 with modulus 3 becomes 0 1 1

Parameters

ParameterDefault valueInput and choices
Modulus2Number
DelimiterLine feedLine feed, Space, Comma, Semi-colon, Colon, CRLF

Related tools

Browse arithmetic / logic tools