What Is TOPS?
TOPS (Trillions of Operations Per Second) is a performance metric that measures how many computational operations a processor or accelerator can perform in one second.
One TOPS represents one trillion, or 10¹², operations per second.
TOPS is widely used to describe the computational capabilities of Artificial Intelligence (AI) accelerators, Neural Processing Units (NPUs), Digital Signal Processors (DSPs), and specialized processors designed for machine learning workloads.
For example, an AI accelerator rated at 40 TOPS can theoretically perform 40 trillion operations per second under the specified operating conditions and operation-counting conventions.
However, TOPS is not a universal measure of overall computer performance.
The result depends on the numerical precision, supported operation types, hardware architecture, and workload characteristics.
A processor achieving 40 TOPS using 8-bit integer arithmetic cannot automatically be considered faster than a processor rated at 20 TOPS using 16-bit floating-point arithmetic.
Understanding TOPS is increasingly important because AI processing capabilities are becoming a common feature of smartphones, personal computers, embedded devices, vehicles, and data center hardware.
How Does TOPS Work?
Modern processors execute mathematical and logical operations using specialized circuits.
Traditional CPUs contain arithmetic and logic units that execute instructions.
AI accelerators may also include large arrays of multiply-accumulate units and dedicated matrix-processing hardware.
A Multiply-Accumulate (MAC) operation multiplies two numerical values and adds the product to an accumulated result.
Its mathematical form is:
Result = A × B + C
MAC operations are fundamental to neural network calculations because many AI models repeatedly multiply and accumulate large collections of numerical values.
TOPS measures the rate at which a processor performs a specified collection of operations.
The basic formula is:
TOPS = Operations Per Second / 10¹²
For example, if a processor performs 20 trillion counted operations during one second, its throughput is 20 TOPS.
However, counting conventions are important.
In many AI hardware specifications, one multiply-accumulate operation is counted as two operations: one multiplication and one addition.
Other operation definitions may differ, so reliable comparisons require examining the manufacturer’s measurement methodology.
How Is TOPS Calculated?
Theoretical TOPS can be estimated from the number of arithmetic units, their operations per clock cycle, and their clock frequency.
A simplified formula is:
TOPS = Processing Units × Operations Per Cycle × Clock Frequency / 10¹²
Consider a hypothetical accelerator containing 1,000 MAC units.
Suppose each MAC unit completes one integer multiply-accumulate operation per clock cycle, and the chip operates at 1 GHz.
If each MAC is counted as two operations, the theoretical throughput is:
1,000 × 2 × 1,000,000,000 = 2 × 10¹² operations/second
Therefore:
Peak Performance = 2 TOPS
This calculation assumes all arithmetic units operate continuously at full capacity.
Actual performance may be lower because of memory access delays, data dependencies, resource contention, unsupported operations, or software inefficiencies.
What Is the Difference Between TOPS and FLOPS?
FLOPS (Floating-Point Operations Per Second) measures the rate of floating-point arithmetic calculations.
TOPS (Trillions of Operations Per Second) measures a rate of computational operations, but the operation type must be specified.
TOPS is especially common in AI accelerator specifications involving low-precision integer operations.
For example, an NPU may advertise 50 INT8 TOPS, while a GPU may advertise 30 FP32 TFLOPS.
These numbers cannot be directly compared because the underlying numerical formats and hardware operations are different.
A floating-point processor may be designed for high numerical precision, while an integer AI accelerator may prioritize efficient neural network inference.
Both metrics describe computational throughput, but neither alone determines application execution time.
What Are INT8, INT4, FP16, and BF16?
Numerical precision has a major influence on AI accelerator performance.
INT8 (8-bit Integer): Represents integer values using eight bits. It is widely used in quantized neural network inference.
INT4 (4-bit Integer): Uses four-bit integer values and can reduce memory requirements for suitable quantized AI models.
FP16 (16-bit Floating Point): A half-precision floating-point format commonly used in machine learning and GPU computation.
BF16 (Brain Floating Point 16): A 16-bit floating-point format with an exponent range similar to FP32 but fewer significand bits.
Different numerical formats require different hardware resources and memory capacities.
For example, an accelerator may execute more INT8 operations per second than FP16 operations because lower-precision integer arithmetic can be implemented using smaller or more numerous arithmetic circuits.
However, using lower precision can affect numerical accuracy.
AI models must be designed, trained, converted, or calibrated appropriately before using these formats.
Therefore, TOPS specifications should always identify the supported numerical precision.
What Is Quantization in AI?
Quantization is the process of representing numerical values using lower-precision formats.
For example, a neural network originally using FP32 weights and activations may be converted to use INT8 values for suitable operations.
Quantization can reduce memory consumption, data-transfer requirements, and arithmetic hardware complexity.
This can improve inference speed and energy efficiency.
However, quantization changes how numerical values are represented and may introduce approximation errors.
Some neural networks maintain acceptable accuracy when converted to INT8, while others require more careful calibration or quantization-aware training.
Post-Training Quantization (PTQ) converts a previously trained model to a lower-precision representation.
Quantization-Aware Training (QAT) incorporates simulated quantization effects during training to help preserve model accuracy.
TOPS figures based on INT8 or INT4 arithmetic are therefore most meaningful for AI models that can use those numerical formats effectively.
What Is the Difference Between TOPS and NPU Performance?
An NPU (Neural Processing Unit) is a specialized processor designed to accelerate selected neural network operations.
NPUs commonly contain hardware optimized for matrix multiplication, convolution, and related tensor calculations.
TOPS is frequently used to describe an NPU’s theoretical arithmetic throughput.
For example, a laptop processor may include an NPU rated at 40 TOPS for supported low-precision operations.
However, actual AI performance also depends on which model operators the NPU supports, available memory, software drivers, and execution frameworks.
Some neural network operations may execute on the CPU or GPU rather than the NPU.
Moving data between processing units can also introduce overhead.
Consequently, an NPU with a higher TOPS rating does not necessarily complete every AI model faster than an NPU with a lower advertised rating.
What Is the Difference Between CPU, GPU, and NPU TOPS?
Modern AI systems may use CPUs, GPUs, and NPUs to perform different parts of a workload.
A CPU is a general-purpose processor designed to execute diverse instructions and manage operating-system and application tasks.
A GPU is a highly parallel processor designed to perform many similar computations efficiently.
An NPU is specialized hardware optimized for selected neural network operations, often with an emphasis on power efficiency.
All three processor types may support AI computation, but their architectures differ.
For example, a CPU may execute application logic and data preprocessing while a GPU performs large matrix operations.
An NPU may accelerate supported neural network inference operations with lower power consumption.
TOPS measurements can help describe their arithmetic capabilities, but comparisons must use equivalent numerical formats, operation definitions, and workloads.
Overall AI performance depends on how efficiently the complete system executes the model.
What Are Peak TOPS and Sustained TOPS?
Peak TOPS represents the maximum theoretical or specified arithmetic throughput achievable under defined conditions.
Sustained Performance describes the throughput a processor can maintain during a longer-running workload.
A processor may achieve high peak performance for a short period but operate at a lower rate during sustained execution.
Possible reasons include power limits, thermal constraints, memory bandwidth limitations, and workload inefficiencies.
For example, a mobile NPU may have a specified peak performance of 40 TOPS, but a particular neural network may use only part of its available arithmetic resources.
The processor may also operate at different frequencies depending on temperature and energy-management policies.
Therefore, peak TOPS should not be interpreted as a guaranteed application-level throughput.
What Is Sparse TOPS?
Some AI accelerators support Sparsity, a property in which many values within a matrix or tensor are zero.
If the hardware can identify and skip certain operations involving zero values, it may reduce the amount of actual computation required.
For example, a matrix-processing accelerator may support structured sparsity, where zero values follow a pattern that the hardware can exploit efficiently.
Some manufacturers report higher theoretical performance when structured sparsity is enabled.
A processor might therefore advertise different dense and sparse TOPS figures.
However, sparse performance is meaningful only when the model contains compatible sparsity patterns and the hardware and software can exploit them.
A sparse TOPS rating should not be directly compared with a dense TOPS rating without accounting for these assumptions.
What Is the Relationship Between TOPS and Memory Bandwidth?
AI accelerators require memory systems capable of supplying model weights, input data, and intermediate results.
Memory Bandwidth measures how much data can be transferred between memory and processing units per second.
For example, an NPU may contain enough arithmetic hardware to perform many trillions of operations per second.
However, if its memory subsystem cannot supply the required data, the arithmetic units may remain underutilized.
This creates a memory bandwidth bottleneck.
AI hardware designers use on-chip SRAM, caching, tiling, data reuse, and specialized memory interfaces to reduce unnecessary data transfers.
Many accelerators are designed to reuse the same values across numerous MAC operations.
This improves arithmetic intensity and helps the processor achieve a larger fraction of its theoretical TOPS.
What Is Arithmetic Intensity?
Arithmetic Intensity measures the amount of computation performed relative to the amount of data transferred.
It is commonly expressed as operations per byte.
For example, an algorithm that performs many matrix calculations using data already stored in on-chip memory may have high arithmetic intensity.
An algorithm that repeatedly retrieves data from external memory while performing relatively few calculations may have low arithmetic intensity.
High arithmetic intensity helps AI accelerators use their arithmetic units efficiently.
Low arithmetic intensity can make memory bandwidth the primary performance limitation.
This relationship is described by the Roofline performance model.
For a consistent operation definition:
Attainable Operations/Second ≤ min(Peak Compute Throughput, Memory Bandwidth × Arithmetic Intensity)
The model helps explain why a chip with very high theoretical TOPS may deliver much lower effective performance on memory-intensive workloads.
How Does TOPS Affect AI Inference?
AI Inference is the process of using a trained machine learning model to produce predictions, classifications, generated content, or other outputs.
For example, an image recognition model may analyze an input photograph and classify the objects it contains.
Inference commonly involves matrix multiplication, convolution, activation functions, normalization, and other operations.
AI accelerators use parallel arithmetic hardware to execute supported portions of these workloads.
Higher TOPS can enable greater computational throughput when the model is compute-bound and efficiently mapped to the accelerator.
However, inference performance also depends on model size, memory traffic, batch size, numerical precision, and execution overhead.
For this reason, AI inference is often evaluated using latency, images per second, requests per second, or generated tokens per second rather than TOPS alone.
TOPS vs. Tokens Per Second
Large Language Models (LLMs) generate text by processing tokens.
A Token is a unit of text representation used by a language model, such as a word, part of a word, or punctuation sequence.
Tokens Per Second measures how many output tokens a model generates per second under specified testing conditions.
TOPS measures arithmetic capability, while tokens per second measures application-level text generation throughput.
These metrics are related but not directly convertible.
For example, a processor with high TOPS may still generate tokens slowly if the model requires substantial memory transfers or contains unsupported operations.
Model architecture, parameter count, quantization, context length, batch size, and memory bandwidth can all influence token-generation speed.
For practical LLM evaluation, tokens per second and response latency are often more useful than peak TOPS.
What Is TOPS per Watt?
TOPS per Watt measures computational throughput relative to electrical power consumption.
The formula is:
TOPS per Watt = TOPS / Power Consumption in Watts
For example, suppose an accelerator delivers 20 TOPS while consuming 10 watts.
Its computational efficiency is:
20 TOPS / 10 W = 2 TOPS/W
Another accelerator delivering 40 TOPS while consuming 40 watts provides:
40 TOPS / 40 W = 1 TOPS/W
In this simplified example, the first accelerator provides greater arithmetic throughput per watt.
However, comparisons require equivalent operation types, numerical precision, and measurement boundaries.
A chip-only power measurement is not necessarily comparable to a complete-board power measurement.
Energy efficiency is particularly important in smartphones, laptops, autonomous devices, embedded AI systems, and large data centers.
What Is TOPS in Edge AI?
Edge AI refers to artificial intelligence processing performed on devices near the source of data rather than relying entirely on remote cloud servers.
Examples include smartphones, security cameras, industrial sensors, robots, and automotive computing systems.
Edge AI devices often operate under strict constraints involving power consumption, memory capacity, cost, and physical size.
NPUs and other specialized accelerators help these devices execute selected neural network models locally.
For example, a security camera may use an embedded NPU to classify objects without continuously transmitting every video frame to a remote server.
Local inference can reduce network dependence, improve responsiveness, and limit the amount of data that must leave the device.
However, the practical value of TOPS depends on whether the supported models can operate within the device’s memory and power limits.
How Is TOPS Used in Smartphones and AI PCs?
Modern smartphones and personal computers increasingly include dedicated AI acceleration hardware.
Smartphone NPUs may support computational photography, speech processing, image recognition, and other machine learning features.
AI PCs may use integrated NPUs to accelerate supported local inference workloads.
For example, a laptop application may use an NPU for selected audio processing or image enhancement tasks.
Some operating-system and application ecosystems specify minimum NPU performance capabilities for particular AI features or device categories.
However, TOPS should not be treated as the only requirement for AI software compatibility.
Supported instructions, driver versions, model formats, operating-system interfaces, and memory requirements also determine whether an application can use an accelerator.
A higher TOPS rating does not guarantee support for every AI model or software framework.
What Is TOPS in Autonomous Vehicles and Robotics?
Autonomous vehicles and robotic systems often process information from cameras, radar, lidar, and other sensors.
These systems may use neural networks for object detection, classification, perception, and decision-support functions.
AI accelerators provide parallel processing resources for these computational workloads.
For example, a robot may use an embedded accelerator to identify objects in camera images while its CPU manages communication and motion-control software.
TOPS can help describe the arithmetic capacity available for neural network processing.
However, robotic and automotive performance requirements also include latency, predictability, memory bandwidth, power consumption, functional safety, and system reliability.
A high TOPS rating alone does not demonstrate that a processor satisfies real-time or safety requirements.
What Is TOPS in FPGA-Based AI Accelerators?
A Field-Programmable Gate Array (FPGA) is an integrated circuit that can be configured to implement custom digital hardware.
FPGAs can implement neural network accelerators using parallel arithmetic units, dedicated DSP blocks, on-chip memory, and data-processing pipelines.
For example, an FPGA may implement an array of INT8 multiply-accumulate units that execute simultaneously.
Theoretical TOPS can be estimated from the number of supported operations per cycle and the circuit’s operating frequency.
However, actual performance depends on logic resources, DSP utilization, memory bandwidth, clock timing, data movement, and model structure.
FPGAs can provide flexibility in selecting numerical precision and designing dataflow architectures.
Some applications may use INT8 or INT4 arithmetic, while others require floating-point formats.
FPGAs are therefore useful for studying the relationship between hardware parallelism, arithmetic throughput, and application-level AI performance.
How Is TOPS Performance Measured?
TOPS may be reported as a theoretical hardware specification or derived from benchmark measurements.
Theoretical TOPS is calculated from arithmetic execution capacity and clock frequency.
Measured throughput depends on the actual workload, operation count, execution time, and hardware utilization.
For example, a benchmark may execute a neural network with a defined number of arithmetic operations.
If the benchmark consistently completes the workload at a known rate, achieved operations per second can be estimated.
However, determining the correct operation count requires a clear definition of which operations are included.
AI performance benchmarks such as MLPerf evaluate representative machine learning workloads using application-level performance and accuracy requirements.
These benchmarks are often more useful for comparing complete AI systems than peak arithmetic specifications alone.
Meaningful testing should include inference latency, throughput, numerical accuracy, power consumption, and supported model operators.
What Are the Limitations of TOPS?
TOPS is a useful metric, but it has several important limitations.
Numerical Precision: INT4, INT8, FP16, and other formats have different computational and accuracy characteristics.
Operation Counting: Manufacturers may use different conventions for counting MAC operations or specialized arithmetic.
Sparse vs. Dense Performance: Sparsity-enabled peak figures may require particular model structures.
Memory Bandwidth: Arithmetic units cannot operate at full capacity unless data arrives quickly enough.
Model Compatibility: Not every AI operator can necessarily execute on the advertised accelerator.
Software Efficiency: Compiler quality, drivers, execution frameworks, and model optimization affect performance.
Power and Thermal Limits: Sustained operation may differ from theoretical peak conditions.
Application Performance: High TOPS does not automatically guarantee low inference latency or high token-generation throughput.
Therefore, TOPS is best interpreted as one characteristic of an AI processor rather than a complete measure of its usefulness.
TOPS vs. Real-World AI Performance
Consider two hypothetical AI accelerators.
Accelerator A provides 60 INT8 TOPS.
Accelerator B provides 40 INT8 TOPS.
At first glance, Accelerator A appears more powerful because its theoretical arithmetic throughput is greater.
However, suppose Accelerator A has limited memory bandwidth or lacks hardware support for an operation used frequently by a particular neural network.
Accelerator B may execute the complete model more efficiently despite its lower TOPS rating.
Similarly, one accelerator may deliver excellent performance on convolutional neural networks but perform differently on transformer models.
This demonstrates why AI hardware comparisons should use realistic workloads and equivalent measurement conditions.
The most meaningful question is not simply how many operations a processor can theoretically execute, but how quickly and efficiently it completes the intended AI task.
Where Is TOPS Important?
TOPS is widely used to describe computational capabilities in AI-oriented hardware.
Neural Processing Units: Evaluating specialized neural network arithmetic capacity.
AI PCs: Comparing the theoretical capabilities of integrated AI accelerators.
Smartphones: Describing mobile processors used for image processing, speech recognition, and local inference.
Edge AI: Evaluating embedded accelerators in cameras, industrial devices, and sensors.
Robotics: Estimating neural network processing resources for perception and other AI functions.
Automotive Computing: Describing arithmetic capabilities of processors used in assisted-driving and automated-driving systems.
Data Center AI: Comparing selected integer and low-precision computational capabilities of accelerators.
FPGA AI Acceleration: Evaluating custom parallel arithmetic architectures and their theoretical operation rates.
Across these applications, TOPS provides a useful starting point, but workload-level benchmarks remain essential.
Conclusion
TOPS (Trillions of Operations Per Second) measures the rate at which a processor or accelerator performs defined computational operations.
It is widely used to describe AI hardware, particularly NPUs and accelerators optimized for low-precision neural network arithmetic.
TOPS performance depends on the number of arithmetic units, operating frequency, numerical precision, operation-counting conventions, and supported hardware features.
However, TOPS alone cannot determine real-world AI performance.
Memory bandwidth, quantization, model compatibility, software efficiency, latency, and energy consumption also play important roles.
Understanding TOPS provides an essential foundation for studying Neural Processing Units, AI Accelerators, Quantization, INT8 Computing, Multiply-Accumulate Operations, FLOPS, Edge AI, and modern artificial intelligence hardware architecture.
