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.

Optional settings


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Operation rateFinds the rate in FLOPS from an operation count and a run timeRequires the number of floating-point operations and the elapsed time
Total operationsFinds how many operations run in a given time at a given rateRequires the operation rate and the elapsed time
Elapsed timeFinds how long a workload takes at a given rateRequires 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 = N รท t [1]
FOperation rate in FLOPS, floating-point operations per second
NNumber of floating-point operations completed
tElapsed 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

N = F ร— t

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

t = N รท F

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

  1. 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