Contact

RAND Function in Google Sheets: Generate a number from zero up to one

Math Beginner Google Sheets

Learn RAND in Google Sheets with explicit inputs, worked scenarios, independently checked expectations and troubleshooting.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: Generate a number from zero up to one with RAND. The Google RAND documentation supplies the contract summarized here.

Syntax and guaranteed range

=RAND() has no arguments. Google’s documented range includes 0 and excludes 1. There is no fixed expected draw to print beside this formula.

Worked scenario: inspect one stored draw

Enter =RAND() in A2. In B2 enter =A2>=0 and in C2 enter =A2<1. Both checks should be TRUE for that cell’s generated value. They inspect the same cell rather than calling RAND separately in each check.

A result near 1 may display as 1 if the cell shows few decimal places. Increase displayed precision before interpreting that appearance as a range failure. No particular digits are promised.

Advanced example: rescale the interval

Suppose a simulation needs an offset from 10 inclusive to 25 exclusive. With the draw in A2, enter =10+15*A2 in D2. The expected property is 10 ≤ D2 < 25, derived by multiplying the original interval by 15 and adding 10. Use =D2>=10 and =D2<25 as checks; each has expected result TRUE.

These formulas demonstrate an interval transformation, not a claim about cryptographic quality, independence, sampling quality or a particular distribution implementation. To make a workbook review reproducible, retain the actual numeric inputs used for the review and label them as recorded values rather than claiming that re-entering RAND will reproduce them.

Troubleshooting

  • Empty parentheses are required; this contract provides no seed argument.
  • Never compare two independently generated draws as if they were the same observation.
  • An exact example value from another sheet is not an expected answer for yours.
  • Do not infer precise recalculation triggers from this guide. The retrieved function reference establishes the output interval, not a complete recalculation schedule.
  • A random value is unsuitable as a stable identifier unless you separately design and validate an identification process.

This function is a small building block. Before using a random spreadsheet in a consequential decision, specify the sampling method and reproducibility requirements independently. The arithmetic transformation above has been checked, but no native random draw or statistical-quality test is claimed.

Availability and version history

Documented in the rolling Google Sheets service. Documentation reviewed October 19, 2026; an introduction date or numbered release was not established. Examples use English function names, decimal points and comma separators; adapt separators to the sheet’s locale.

Verification scope and sources

The official reference establishes the syntax and function-specific contract. Worked values are original, independently derived expectations, not native Google Sheets observations. No account access, UI screenshot or cross-version execution was performed. Native behavior outside the documented scope remains unverified.