Everyday Calculators

Random Number Generator

Generate one casual-use integer from an inclusive nonnegative range with browser-provided random values and bias-resistant mapping.

Enter the values and review the result.

Inclusive integer range

Both fields begin empty. Use ASCII digits only; input is never trimmed, swapped, clamped, or partially parsed.

Accepted bounds: 0 through 4294967295. Both endpoints are inclusive, and equal bounds are valid.

Enter an inclusive nonnegative range, then generate one integer.

Browser-provided words and unbiased mapping

Each user-triggered selection requests one unsigned 32-bit word from the browser. For a requested range size, the tool accepts words only from the largest part of the 4294967296-value word domain that divides evenly by that size. The accepted word is then reduced to an offset and added to the minimum.

At most 128 words are requested for one selection. A provider error or exhausted attempt limit returns a textual failure with no stale result and no fallback source. This design is intended to avoid bounded-range mapping bias; a visible result does not prove statistical fairness.

Worked examples

Equal bounds: Minimum 7 and maximum 7 produce 7. There is only one possible value, so no random word is requested.

Inclusive range: Minimum 10 and maximum 12 create three possible outputs: 10, 11, or 12. The actual result cannot be predicted in advance, and no particular outcome is guaranteed.

Assumptions, privacy, and limitations

Generation occurs locally during the button action. The route sends no calculation request, stores no history, and does not place entered bounds in a URL. Repeated clicks request fresh browser-provided values and replace the previous result.

Use this only for casual, non-security-sensitive choices. It is not intended for passwords, credentials, encryption keys, access tokens, security decisions, gambling, regulated drawings, legal or compliance selection, or audited selection. It provides no certification, reproducibility, or third-party verification.

Numbers versus list order

This route generates one integer. Use the List Randomizer to reorder complete text entries while preserving duplicates.

Quick answers

What this calculator answers

  • Result: Generates exactly one nonnegative integer from the inclusive minimum and maximum you enter.
  • Mapping: Browser-provided unsigned 32-bit random words are mapped with rejection sampling designed to avoid bounded-range bias.
  • Boundary: This casual-use tool is not intended for passwords, tokens, gambling, regulated drawings, legal selection, or audited decisions.

Transparency note

Accuracy and limitations

Calzivo tools are built for practical estimates, conversions, and checks. Some tools use standard formulas or simplified assumptions, and results can be affected by input accuracy, rounding, units, local rules, or changing official requirements.

Results depend on the values you enter and any simplified assumptions used by the tool. Verify important results before making decisions or submitting official information.

Reference check

Sources and references

These references provide background context for the topic. They do not replace official advice or documents for personal decisions.

How to Use This Tool

Use these steps to enter the right inputs and interpret the result correctly.

1

Enter a complete nonnegative integer from 0 through 4294967295 as the minimum.

2

Enter a maximum from the minimum through 4294967295.

3

Choose Generate Number to make one inclusive-range selection.

4

Copy only the generated integer, or Reset to clear the route.

Frequently Asked Questions

Common questions about Random Number Generator and how to read the result.

Are both range endpoints included?

Yes. Both minimum and maximum can be selected. Equal values are also valid and return that value without requesting randomness.

Why are negative numbers and decimals rejected?

This route has one explicit model: nonnegative integers from the unsigned 32-bit range. Signs, decimals, exponent notation, commas, and whitespace are not normalized.

How is bounded-range bias avoided?

The tool rejects unsigned 32-bit words outside the largest evenly divisible part of the random-word domain, then maps an accepted word into the requested range.

Is this suitable for security or regulated selection?

No. It is intended for casual, non-security-sensitive use and does not provide certified, auditable, legal, gambling, or compliance-grade selection.