webby.tools

Number Tools

Add Numbers in Text
Add Numbers in Text

Paste any block of text and instantly add up every number it contains. Handles whole numbers and decimals mixed in with words. Free, runs entirely in your browser.

Base Converter
Base Converter

Convert any number between binary, octal, decimal, hexadecimal, or any base from 2 to 36. Free online base converter — instant results as you type.

Factorial Calculator
Factorial Calculator

Calculate n! (factorial) exactly for any whole number, no matter how large. See the full digit count and scientific notation for huge results. Free.

Mean, Median, and Mode Calculator
Mean, Median, and Mode Calculator

Instantly find the mean, median, mode, and range of any list of numbers. Also shows sum, count, min/max, and standard deviation. Free, no signup.

Number to Words Converter
Number to Words Converter

Convert any number to words instantly. Spell out integers, decimals, negative numbers, and large numbers in full English text. Free online number to words converter.

Percentage Calculator
Percentage Calculator

Calculate percentages instantly. Find what percent of a number is, what percentage one number is of another, and calculate percentage increase or decrease. Free online tool.

Prime Number Checker
Prime Number Checker

Instantly check whether any number is prime, see its nearest neighboring primes, and generate a list of all primes up to a limit. Free, no signup.

Random Number Generator
Random Number Generator

Create lists of random numbers with just a click. Enter the min and max, how many you want, and whether duplicates are okay and this will take care of the rest.

Roman Numeral Converter
Roman Numeral Converter

Convert any number from 1 to 3,999 to Roman numerals, or convert Roman numerals back to standard (Arabic) numbers. Includes a reference chart and full explanation. Free, instant, browser-based.

Tools for Working with Numbers

This collection of 9+ tools covers a wide range of number-related tasks — from everyday calculations like percentages and grade curves to technical utilities like base conversion and random number generation.

Base Conversion

Numbers can be expressed in different bases (radixes). Decimal (base 10) is what we use every day. Binary (base 2) is fundamental to computing. Hexadecimal (base 16) is used in colour codes, memory addresses, and encoding. Octal (base 8) appears in Unix file permissions.

The base converter tool converts between any of these common bases instantly. The base conversion worksheets generate printable practice problems for students learning number systems.

Random Number Generation

The random number generator produces cryptographically random numbers in any range using the browser's crypto.getRandomValues() API. This is the same source of randomness used in security-sensitive applications — numbers generated this way are unpredictable and not reproducible from any pattern.

Random numbers are useful for games, simulations, sampling, picking lottery numbers, generating test data, and any situation where you need an unbiased selection.

Percentage Calculator

The percentage calculator handles the three most common percentage problems: finding a percentage of a number (what is 15% of 80?), finding what percentage one number is of another (20 is what % of 80?), and finding the original number from a percentage result (20 is 15% of what?).

Number to Words

The number-to-words tool converts numeric values into their written English form — useful for writing cheques, legal documents, or any context where numbers must be spelled out. It handles integers into the billions and supports ordinal forms (first, second, third).

Grade Calculators

The square root grade curve and linear grade curve calculators help teachers adjust raw test scores to target a desired class average or distribute grades along a curve. The grading calculator converts raw scores to letter grades based on configurable cutoffs.

Fraction Calculators

A dedicated set of fraction tools handles the most common fraction operations with full step-by-step solutions. The Fraction Calculator adds, subtracts, multiplies, and divides any two fractions or mixed numbers (enter 1 2/3 instead of juggling separate fields). Supporting tools convert between fractions and decimals, decimals back to fractions, and reduce any fraction to its lowest terms using the Euclidean algorithm.

Frequently Asked Questions

What is hexadecimal and why is it used?
Hexadecimal (base 16) uses digits 0–9 and letters A–F to represent values 0–15. Each hex digit represents exactly 4 binary bits (a nibble), making hex a compact way to write binary data. Two hex digits represent one byte. It is used for colour codes (#FF5733), memory addresses, and any context where binary data needs to be human-readable.
How does the random number generator work?
The tool uses crypto.getRandomValues(), which draws from the operating system's entropy pool — a hardware-seeded source of randomness. This is considered cryptographically secure, meaning the output cannot be predicted or reproduced from prior outputs. This is stronger than the Math.random() function used in most browser JavaScript, which uses a pseudo-random algorithm.
What is the difference between rounding and truncating?
Rounding adjusts a number to the nearest value at the desired precision — 3.6 rounds to 4. Truncating simply drops the excess digits — 3.6 truncates to 3. For most everyday purposes, rounding is correct. Truncating (also called flooring for positive numbers) is used in programming when you specifically need to round toward zero.

This website may contain affiliate links. If you click on an affiliate link and make a purchase, we may receive a small commission at no additional cost to you.