JESUS CHRIST IS THE ONLY TRUE GOD
Other calculator

Quick Random Number Calculator

Generate a random integer inside an inclusive range using the platform cryptographic random source when available.

Your calculationPrivate in your browser

How to use the quick random number calculator

  1. Prepare the values for this calculation

    Generate a random integer inside an inclusive range using the platform cryptographic random source when available. Use the formula below to check that it answers your question. Read the input units before transferring figures from a statement, measurement or dataset.

  2. Enter and check each input

    • Minimum: enter a value at least -1000000000 and no more than 1000000000 and a whole number. Use the unit named in the label or selected above. Do not leave this required field blank.
    • Maximum: enter a value at least -1000000000 and no more than 1000000000 and a whole number. Use the unit named in the label or selected above. Do not leave this required field blank.

    The input table gives a complete example. Keep units and time periods consistent across related fields.

  3. Calculate and resolve any input error

    Choose Calculate after entering the values. Changes also update the answer after a short pause. If an error appears, follow its message, correct the field and calculate again. Reset restores the example values.

  4. Interpret the answer

    Read Random integer and the output limits. This is a sample generated during calculation; a new calculation may produce a different result. The worked example illustrates the output format rather than a value you must reproduce.

  5. Compare and keep a useful result

    The result diagram shows the inputs, method and output. A numeric chart is shown only when the calculation supports a meaningful numeric relationship.

    Use Copy result or Download CSV to keep the answer. Share tool shares the page address without placing your input values in the URL. Recheck inputs and assumptions before using the result for a decision.

Quick Random Number Calculator formula

Uniform integer in [min,max].

Inputs and units

Inputs and example values for Quick Random Number Calculator
InputFormat / rangeExample
Minimumminimum -1000000000; maximum 1000000000; whole number1
Maximumminimum -1000000000; maximum 1000000000; whole number100

Worked example

Illustrative generated sample. Your output may differ; this value is not a recommended password or a prediction.

Using the example inputs above, the random integer is 72.

Random integer
72

Results and assumptions

The output uses the random integer convention and formula shown above. Match the entered units and source assumptions when comparing results.

Fix an input or unexpected result

Minimum is required. Enter minimum using the format and bounds in the input table. Zero and an empty field are different: use zero only if it is allowed and represents your data.

A different generated sample is expected. Password and UUID generation require secure browser randomness; if it is unavailable, use a current browser on HTTPS. Never use a deterministic pseudo-random sequence as a password.

If a discrepancy remains, report the calculator issue with the page address, non-sensitive example inputs, actual result, expected result and a reference for your calculation.