Calculate FLOPS, total floating point operations, or run time from any two values, with units from FLOPS to TFLOPS and PFLOPS and seconds to hours.
Related Calculators
- Processor Speed Calculator
- MIPS Calculator
- Processing Power Calculator
- Clock Cycles Per Instruction Calculator
- Processing Time Calculator
- All Math and Numbers Calculators
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Operation rate | Finds the rate in FLOPS from an operation count and a run time | Requires the number of floating-point operations and the elapsed time |
| Total operations | Finds how many operations run in a given time at a given rate | Requires the operation rate and the elapsed time |
| Elapsed time | Finds how long a workload takes at a given rate | Requires the number of floating-point operations and the operation rate |
Operation counts can be entered as plain operations or in kOps, MOps, GOps, TOps and POps. Rates run from FLOPS to PFLOPS, and time is in seconds, minutes or hours. Each prefix is a power of 1,000, so 1 GFLOPS is 1,000,000,000 FLOPS. The main result is shown with the prefix that fits it, and Operation rate also lists the answer in FLOPS, MFLOPS, GFLOPS, TFLOPS and PFLOPS.
FLOPS Formulas
| F | Operation rate in FLOPS, floating-point operations per second |
| N | Number of floating-point operations completed |
| t | Elapsed time (s) |
Operation rate
FLOPS is a rate of execution: floating-point operations completed per second. MFLOPS counts millions per second, GFLOPS billions and TFLOPS trillions [1]. A program that completes 1 TOps, or 1,000,000,000,000 operations, in 50 seconds runs at 1,000,000,000,000 รท 50 = 20,000,000,000 FLOPS, which is 20 GFLOPS.
Total operations
A machine that holds 2.5 GFLOPS for 1 minute completes 2,500,000,000 ร 60 = 150,000,000,000 operations, shown as 150 billion operations.
Elapsed time
A job of 1 TOps at 2.5 GFLOPS takes 1,000,000,000,000 รท 2,500,000,000 = 400 seconds, or about 6.67 minutes.
Limits of This Estimate
- The rate is an average over the entered time. It says nothing about peaks, idle time or how the rate changed during the run.
- A measured rate is not the theoretical peak. The peak is a paper figure for the most floating-point additions and multiplications a machine can complete in a period of time, and it is an upper bound that real programs do not exceed [1].
- Rates are only comparable when the operations are counted the same way. The LINPACK benchmark counts 64-bit additions and multiplications [1], and a different workload or precision gives a different number on the same hardware.
Sources
- Netlib, Frequently Asked Questions on the Linpack Benchmark and Top500 (Jack Dongarra): meaning of Mflop/s, Gflop/s and Tflop/s, which operations are counted, and theoretical peak performance
