Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Statistics Calculators / Relative Frequency Calculator
Statistics Calculators

Relative Frequency Calculator

Published onOctober 2, 2025 Updated onOctober 30, 2026 11:45 pm

Relative frequency answers the simplest question in statistics: out of everything that happened, how much of it was the thing you care about? Type the event count and the total, and this calculator returns the answer in all three formats textbooks use: a decimal, a percentage, and a simplified fraction.

Relative Frequency Calculator
Decimal, percentage and simplified fraction in one click

Relative frequency (decimal)

0.000000

Quick Answer

When an event happens 15 times out of 50 total observations, its relative frequency is 0.300000 as a decimal, 30.00% as a percentage, and 3/10 as a simplified fraction. The calculator above is pre-filled with this exact run; click Calculate to see every format plus the step-by-step math.

Key takeaways

  • Relative frequency = event count divided by total count. It always lands between 0 and 1, and the decimal, percentage and fraction are the same number in different clothes.
  • OpenStax teaches relative frequencies as fractions, percents, or decimals, and notes that the relative frequencies of every category add up to 1.
  • A single event’s relative frequency is the building block; a full table of every category is a frequency distribution, a different job with a different tool.
  • The fraction output is simplified by dividing through by the greatest common divisor, so 15/50 shows as 3/10 automatically.
On this page
  • Quick Answer
  • How to use the relative frequency calculator
  • The formula, and why three formats
  • Worked example: the survey, plus three check runs
  • Relative frequency vs probability: the law of large numbers
  • What competing calculators miss
  • Frequently asked questions
  • Add This Calculator to Your Website
  • References

How to use the relative frequency calculator

Two inputs, one click, three answers. Results stay hidden until you press Calculate.

  1. Number of favorable outcomes: how many times the event happened. The pre-filled run uses 15, the number of survey respondents who picked one answer.
  2. Total number of outcomes: every trial or observation, 50 in the example. It must be greater than 0, and the favorable count cannot be larger than it.
  3. Click Calculate: the decimal appears large at the top (0.300000), with the percentage (30.00%) and the simplified fraction (3/10) in the detail rows, a majority/minority label, and the full step-by-step explanation underneath.

Typed something wrong? Reset restores the worked example. Copy my results puts the whole breakdown on your clipboard for homework or a report; Share results sends it to another app.

The formula, and why three formats

Relative frequency is the event count divided by the total count, written here as f for frequency and n for the total number of observations:

Relative Frequency = f ÷ n
Percentage = (f ÷ n) × 100
Simplified fraction = f/g ÷ n/g, where g is the greatest common divisor of f and n

Textbooks keep all three alive for different audiences. OpenStax’s statistics textbook defines relative frequency as the ratio of an event’s count to the total number of outcomes and explicitly says it can be written as a fraction, a percent, or a decimal, which is why this calculator shows all three instead of making you convert by hand. For the fraction, dividing the numerator and denominator by their greatest common divisor gives the cleanest form: gcd(15, 50) = 5, so 15/50 becomes 3/10. Relative frequencies across every category sum to 1, a fact OpenStax demonstrates with a student work-hours table where 6 students working 5 hours out of 20 gives 6/20 = 0.30.

Worked example: the survey, plus three check runs

The pre-filled run is a survey where 15 of 50 respondents chose the same answer. The table below shows that run and three more, so you can check the calculator’s logic before trusting it.

RunDecimalPercentageFraction
Worked example: 15 favorable of 50 total0.30000030.00%3/10
1 of 3 coin flips (heads)0.33333333.33%1/3
7 of 7 quality checks passed1.000000100.00%1/1
0 misses out of 20 free throws0.0000000.00%0/1

Two honest notes about how the tool behaves. First, the decimal and percentage are rounded for display (six and two places), so a value like 999,999,999 of 1,000,000,000 shows as 1.000000 and 100.00%, while the fraction keeps the unsimplified counts. Second, the tool accepts decimals as inputs, and with numbers like 0.1 and 0.3 the way computers store decimals can leak into the fraction display; the decimal and percentage stay exact to their rounded places.

Relative frequency vs probability: the law of large numbers

Relative frequency is what happened; probability is what you expect. When you cannot list every theoretical outcome, the observed relative frequency becomes the empirical probability, and statistics gives you a guarantee about it.

OpenStax’s probability chapter puts it plainly: the probability of any outcome measures the long-term relative frequency of that outcome, and flipping a coin 20, then 2,000, then 20,000 times drives the relative frequency of heads toward 0.5. That settling-down is the law of large numbers: repeat an experiment enough and the relative frequency closes in on the true probability. So when a pollster reports that 300 of 1,000 voters back a candidate, the 0.3 relative frequency is simultaneously the best available estimate of the probability a random voter backs them. The coin flip probability calculator and the compound probability calculator take the theoretical side of that partnership; this page handles the observed side.

What competing calculators miss

Most pages ranking for this keyword solve a bigger problem than the one most searchers have, or a smaller one:

  • relativefrequencycalculator.com: the most capable rival: paste a whole dataset, get a frequency table with bar and pie charts and cumulative columns, with a worked color-preference example (5, 3, 7, 2 of 17). Strong for full datasets, heavy for a single event, and it never reduces a fraction the way a classroom answer key would.
  • OnlyCalculators’ relative frequency calculator: accepts raw data lists or pre-counted frequencies and builds the full distribution table, with a worked five-class example (8, 12, 15, 9, 6 of 50). A good teaching page, but it buries the one-number answer this keyword implies.
  • OnlyCalculators’ frequency distribution calculator: adds grouped vs ungrouped modes and live mean, median, mode and standard deviation. That is descriptive-statistics software, not a two-input answer box.
  • Savvy Calculator’s relative frequency percentage calculator: the simplest rival: count and total in, percentage out. Clean, but it drops the decimal and the fraction, which are what textbooks ask for.
  • Histogram makers (MathCracker-style, ggplot2): relative views of binned data are powerful for large continuous datasets, but you must bin the data yourself first, and none of them is a quick f-over-n calculator.
  • The gap this page fills: one event, three formats, step-by-step working shown on the page, and a copy-ready result. If you need the whole table instead, the distribution frequency calculator is the right tool.

Frequently asked questions

Relative frequency is how often an event happened divided by the total number of observations. If 15 of 50 survey respondents chose the same answer, the relative frequency is 15 divided by 50, or 0.3. It always falls between 0 (never happened) and 1 (always happened).

Frequency is the raw count; relative frequency is the count as a share of the whole. A frequency of 15 means little on its own, while a relative frequency of 15 out of 50, or 0.3, tells you 30% of the observations were that event, which lets you compare datasets of different sizes.

The decimal (0.300000), the percentage (30.00%) and the simplified fraction (3/10) are the same result in three notations. Use the decimal for further math, the percentage for reports and presentations, and the fraction for exact answers such as homework.

No. The favorable count cannot exceed the total count, so the ratio stays between 0 and 1. The calculator blocks that input, because a relative frequency above 1 would mean the event happened more times than there were trials.

An observed relative frequency is the empirical probability of an event. OpenStax notes that probability measures the long-term relative frequency of an outcome: repeat an experiment enough times and the relative frequency settles toward the true probability, which is the law of large numbers.

Yes. The calculator accepts decimals such as 2.5 favorable outcomes of 10, giving 0.250000, 25.00% and 1/4. The decimal and percentage are rounded for display, and with values like 0.1 and 0.3 the fraction can show floating-point noise, so rely on the decimal or percentage for those.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. Barbara Illowsky and Susan Dean, OpenStax. 1.3 Frequency, Frequency Tables, and Levels of Measurement, Introductory Statistics 2e. Defines relative frequency as the ratio of an event’s count to the total number of outcomes, written as fractions, percents, or decimals, with relative frequencies summing to 1. Accessed October 23, 2026.
  2. Barbara Illowsky and Susan Dean, OpenStax. 3.1 Terminology, Introductory Statistics 2e. Probability as the long-term relative frequency of an outcome; the law of large numbers. Accessed October 23, 2026.
  3. Statistics LibreTexts. 2.3: Histograms, Frequency Polygons, and Time Series Graphs. Relative frequency as f divided by the total number of data values, used as the vertical-axis scale for histograms. Accessed October 23, 2026.
  4. Statistics LibreTexts. Glossary, Introductory Statistics 1e (OpenStax). Relative frequency: the ratio of the number of times a value of the data occurs in the set of all outcomes to the total number of outcomes. Accessed October 23, 2026.
  5. Statistics LibreTexts, Statistics Through an Equity Lens. 1.3: Probability. The empirical or statistical probability of an event E is the relative frequency of event E. Accessed October 23, 2026.

Related calculators

Statistics CalculatorsSample Mean Calculator: Free Stats Tool OnlineThe sample mean is the average of a subset: add the values, divide by how many there are.Statistics CalculatorsStandard Deviation Probability CalculatorGiven a normal distribution’s mean and standard deviation, this calculator finds the probability of falling...Statistics CalculatorsLinear Regression CalculatorLinear regression finds the straight line that fits your paired data best: the line whose squared misses, added up, are smaller than any other line's.Statistics CalculatorsStatistics CalculatorPaste a dataset and this calculator returns the full descriptive picture: count, sum, mean, median, mode,...Statistics CalculatorsMean Median Mode Calculator Give this calculator any list of numbers and it returns the mean, median and mode together, with every step...Statistics CalculatorsCorrelation Coefficient Calculator Paste two columns of numbers into a spreadsheet and you can see they move together, but your eye cannot tell you how strongly, whether the pattern could be luck, or what line best fits it.

We use cookies to analyze traffic. You can accept or decline cookies below. Learn more

calculatorzilo

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy Affiliate Disclosure FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search