What is FLOPS (Floating-Point Operations Per Second)?
FLOPS (Floating-Point Operations Per Second) is a speed measure showing how many floating point operations a processor can perform each second; in AI hardware it is given in multiples such as teraFLOPS (a trillion per second) and petaFLOPS (a quadrillion).
It should not be confused with lower-case FLOPs: FLOPS is a rate, while FLOPs is a task's total operation count, such as a model's total training compute. Numerical precision matters too: the same hardware's peak FLOPS for FP32, BF16 or FP8 differ widely.
- Topic
- Infrastructure and runtime
- Also known as
- TFLOPS, PFLOPS
How FLOPS (Floating-Point Operations Per Second) works
- Vendors compute peak FLOPS from unit count, clock speed and operations per cycle.
- FLOPS achieved in real workloads stay below peak due to memory and communication waits.
- Model FLOPS utilisation, the ratio of the speed a model achieves to the hardware's peak, is a common efficiency measure.
- Training time is estimated by dividing total FLOPs by the hardware's realistic FLOPS.
In more detail
The roofline model and arithmetic intensity
A workload's arithmetic intensity (FLOPs per byte moved from memory) determines whether it runs compute-bound or memory-bandwidth-bound on the Roofline model. Training and large-batch prefill sit in the compute-bound regime driven by peak FLOPS, whereas single-request decoding sits in the memory-bound regime where HBM bandwidth (TB/s) dictates speed.
The 2:4 structured sparsity caveat and comparing current precisions
Vendor datasheets frequently quote peak FLOPS under 2:4 structured sparsity, which halves weights and doubles advertised numbers but delivers gains only if the model is pruned accordingly. In current hardware, FP8 and FP4 (such as NVFP4/MXFP4) numbers also headline specifications, making precision-matched comparisons essential.
Beyond training: inference and test-time compute
While classic scaling laws focus on training FLOPs, roughly six times the parameter count times the number of training tokens, reasoning models shift significant compute to inference time by generating long chains of thought before answering. Capacity planning therefore budgets total FLOPs across both training and expected query volume.
Commonly confused terms
| Term | How it differs |
|---|---|
| FLOPS (rate) versus FLOPs (total operations) | FLOPS (all caps) is a rate, floating-point operations per second, measuring hardware speed, whereas FLOPs (lower-case s) is a total count of floating-point operations required to run a model or training job. |
| Memory bandwidth | FLOPS measures arithmetic compute capacity, while memory bandwidth (GB/s or TB/s) measures how fast data moves between HBM and compute units; autoregressive LLM decoding is typically bottlenecked by memory bandwidth rather than FLOPS. |
| TOPS | TOPS (Tera Operations Per Second) typically counts integer operations (e.g. INT8/INT4 on NPUs or edge accelerators), whereas TFLOPS/PFLOPS measure floating-point operations (FP32, BF16, FP8, FP4). |
Why FLOPS (Floating-Point Operations Per Second) matters for on-premises AI
FLOPS is a core input for comparing accelerators and estimating training time and cost; scaling laws also tie model performance to total compute. Peak figures can mislead: in a major model parallelism study, a single GPU ran at 39 teraFLOPS, 30% of its peak. Comparisons should check the precision and sparsity assumed.
Example calculation: training a 10 billion parameter model on 200 billion tokens needs, by the common rule of 6 operations per parameter per token, 6 × 10¹⁰ × 2 × 10¹¹ = 1.2 × 10²² FLOPs; at a realistic cluster speed of 10¹⁷ operations per second this is 1.2 × 10⁵ seconds, about 33 hours.
Common questions
How do FLOPS and FLOPs differ?
FLOPS is operations per second, a rate. FLOPs is a task's total operation count, an amount.
Does peak FLOPS show real performance?
No. Real workloads usually reach markedly lower figures because of memory and communication waits.
Related terms
- Graphics Processing Unit
- Matrix multiplication
- Compute-bound workload
- Memory-bound workload
- Numerical precision
- Brain Floating Point 16
Sources
- Shoeybi et al., Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism, 2019
- Kaplan et al., Scaling Laws for Neural Language Models, 2020
In the glossary: Glossary, D to L