Time Weighted Average Price (TWAP) is an execution benchmark defined as the arithmetic mean of an asset's price sampled at regular, fixed time intervals over a specified trading horizon. Unlike volume-based benchmarks, TWAP treats every unit of time equally, calculating the average price by dividing the total period into equal slices and recording the prevailing midpoint or trade price at each slice, regardless of the volume traded during that interval.
Glossary
Time Weighted Average Price (TWAP)

What is Time Weighted Average Price (TWAP)?
An execution benchmark that calculates the average price of an asset over a specified period by slicing time into equal intervals, minimizing market impact by spreading orders evenly regardless of volume fluctuations.
TWAP is primarily used as a passive execution strategy to minimize market impact when trading highly liquid securities or when the trader has no directional view on short-term price movements. By submitting child orders at a constant rate over time, the algorithm avoids concentrating liquidity demand, thereby reducing the information leakage and adverse price movement associated with aggressive, urgent execution.
Key Characteristics of TWAP
Time Weighted Average Price (TWAP) is a passive execution algorithm that slices a parent order into equal-sized child orders distributed uniformly over a specified time horizon. Unlike volume-based strategies, TWAP ignores real-time volume fluctuations, prioritizing predictable market participation and minimal information leakage.
Uniform Time Slicing
TWAP divides the total order duration into equal time intervals and releases identically sized child orders at each interval boundary. For example, a 1,000-share order over 10 minutes with 1-minute slices executes 100 shares per minute regardless of whether volume spikes or dries up. This deterministic schedule makes the algorithm's behavior fully predictable to the executing broker but also predictable to adversaries who may detect the pattern.
Minimizing Market Impact
By spreading execution evenly across time, TWAP reduces the information leakage and supply-demand imbalance that cause adverse price movement. The algorithm avoids consuming large blocks of liquidity at any single moment, instead participating as a small, consistent fraction of market activity. This makes TWAP particularly effective for illiquid securities where a sudden large order would signal urgency and move the price against the trader.
TWAP Calculation Formula
The benchmark is calculated as the arithmetic mean of the asset's price sampled at regular intervals over the execution period. Formally: TWAP = (P₁ + P₂ + ... + Pₙ) / n, where Pᵢ represents the typical price (high + low + close / 3) or midpoint at each sampling interval. This simple averaging makes TWAP transparent and easily verifiable for post-trade transaction cost analysis (TCA).
TWAP vs. VWAP
While both are execution benchmarks, the critical distinction lies in the weighting mechanism:
- TWAP weights each time period equally, ignoring volume
- VWAP weights each period by the volume traded during that period
This means TWAP executes the same quantity during a low-volume minute as during a high-volume minute, potentially causing higher relative market impact during quiet periods. VWAP naturally aligns execution with liquidity, but TWAP offers simpler implementation and more predictable scheduling.
Ideal Use Cases
TWAP is optimally deployed when:
- Trading in markets with stable, consistent volume profiles where time-based slicing won't cause disproportionate impact
- Executing orders in highly illiquid assets where volume predictions are unreliable, making VWAP's volume forecasting risky
- The primary objective is urgency with stealth — getting the order done within a fixed time window without revealing size
- The trader wants a simple, auditable benchmark for TCA without the complexity of volume curve estimation
Limitations and Risks
TWAP's simplicity introduces specific vulnerabilities:
- Adverse selection during low-volume periods: executing fixed quantities when liquidity is thin can result in worse prices
- Predictable pattern detection: sophisticated market participants and predatory algorithms can identify the regular slicing pattern and front-run the remaining order
- No adaptation to market conditions: TWAP does not accelerate when liquidity is abundant or decelerate during volatility spikes, potentially missing favorable execution opportunities
- Opportunity cost: the fixed schedule may leave portions of the order unfilled if the time window expires
TWAP vs. VWAP: Core Differences
A technical comparison of the two primary schedule-based execution benchmarks, highlighting their calculation methodologies, sensitivity to volume, and optimal use cases.
| Feature | TWAP | VWAP | Implementation Shortfall |
|---|---|---|---|
Primary Input Variable | Time | Volume | Arrival Price |
Calculation Methodology | Average price of slices over uniform time intervals | Cumulative total value traded divided by total volume | Difference between decision price and final execution price |
Volume Sensitivity | |||
Minimizes Market Impact | |||
Optimal for Low-Volume Periods | |||
Sensitive to Volume Spikes | |||
Primary Cost Measured | Timing risk | Volume-weighted participation cost | Total cost (explicit + implicit) |
Typical Urgency Level | Low (passive) | Medium (participatory) | High (immediacy) |
Frequently Asked Questions
Clear, technical answers to the most common questions about the Time Weighted Average Price benchmark, its mechanics, and its role in minimizing market impact for algorithmic trading.
A Time Weighted Average Price (TWAP) is an execution benchmark calculated by taking the average price of an asset over a specified time period, slicing time into equal intervals regardless of trading volume. The calculation is straightforward: sum the price of the asset at each defined time slice (typically the midpoint price at the start, end, or middle of each interval) and divide by the total number of slices. For example, a 1-hour TWAP with 5-minute slices would average 12 equally weighted price points. This differs fundamentally from a Volume Weighted Average Price (VWAP), which weights prices by the volume traded at each level. TWAP's volume-agnostic nature makes it the preferred benchmark for executing orders in illiquid securities or during periods of erratic volume, as it provides a purely time-based reference that is difficult to manipulate with fake volume spikes.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Master the essential execution benchmarks and algorithms that complement TWAP strategies for minimizing market impact and measuring transaction costs.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us