How to use this calculator
Compare a kernel’s arithmetic intensity with compute and memory ceilings in a basic Roofline model.
- Enter Compute peak (GFLOP/s), Memory bandwidth (GB/s), Arithmetic intensity (FLOP/byte). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Roofline performance ceiling explained
The modeled ceiling is the lower of peak compute and bandwidth times arithmetic intensity; the ridge point marks where the two limits meet.
Inputs and units
- Compute peak (GFLOP/s)
- Peak or measured compute ceiling on the chosen precision.
- Memory bandwidth (GB/s)
- Bandwidth at the same modeled memory boundary.
- Arithmetic intensity (FLOP/byte)
- Operations divided by bytes transferred at that boundary.
Formula and method
Attainable ceiling=min(compute peak, bandwidth×intensity); ridge intensity=compute peak/bandwidth.
A worked example
Compute peak (GFLOP/s) = 1000; Memory bandwidth (GB/s) = 200; Arithmetic intensity (FLOP/byte) = 2.
- Roofline performance ceiling: 400 GFLOP/s
- Ridge-point intensity: 5 FLOP/byte
- Limiting ceiling: memory bandwidth
The inputs above are an illustrative scenario. Display values are rounded after the calculation.
Assumptions and special cases
Use decimal GB/s and compatible precision. Latency, instruction mix, occupancy, and additional cache ceilings can lower actual performance.
Amdahl’s law models parallel speedup. Roofline models the compute-versus-data-movement performance ceiling.
Frequently asked questions
Is the ceiling a performance prediction?
It is an upper-bound model, not a guarantee.
Which bytes belong in intensity?
Count bytes crossing the same memory boundary used for bandwidth.
Why use matching units?
Decimal GB/s times FLOP/byte directly gives GFLOP/s.
How do I use the Roofline performance ceiling calculator?
Enter Compute peak (GFLOP/s), Memory bandwidth (GB/s), Arithmetic intensity (FLOP/byte). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Roofline performance ceiling?
Compute peak (GFLOP/s) = 1000; Memory bandwidth (GB/s) = 200; Arithmetic intensity (FLOP/byte) = 2. Roofline performance ceiling: 400 GFLOP/s Ridge-point intensity: 5 FLOP/byte Limiting ceiling: memory bandwidth The inputs above are an illustrative scenario. Display values are rounded after the calculation.
Method reference: UC Berkeley Roofline technical report (checked October 15, 2026).
See our calculation methodology.