Skip to content
Sign in

What is FLOPs?

FLOPs stands for floating-point operations and counts the total number of arithmetic calculations (additions, multiplications) a neural network performs during a forward or backward pass.

Each layer in a model performs many floating-point math operations on tensors. Summing these operations across the entire network gives the model's total FLOPs, a hardware-independent measure of computational work.

FLOPs differ from FLOPS (operations per second), which measures hardware speed. In AI, practitioners usually report total FLOPs to compare model complexity rather than runtime speed.

Lower FLOPs generally imply faster inference and lower energy use, but real-world speed also depends on memory access, parallelism, and hardware optimizations.

Example

ResNet-50 needs roughly 4 billion FLOPs to classify one 224×224 image, while the lighter MobileNetV3 needs only about 200 million FLOPs for similar accuracy on the same task.

Why it matters

FLOPs guide model selection for deployment: edge devices favor low-FLOP models, while cloud training budgets are planned around total FLOPs across large datasets.

Frequently asked questions

Floating-point operations—the basic decimal-number calculations performed by a model.