Encyclopedia DeFi · Entry 172
Vault share price: converting between shares and assets
In this article
At a glance
Key facts
| Fact | Detail | Source |
|---|---|---|
| Units | ERC-4626 distinguishes underlying assets from vault shares. | [1] |
| Conversion | convertToAssets and convertToShares exclude fees and round down under the standard. | [1] |
| Limits | Preview methods do not account for deposit or withdrawal limits; max methods address limits separately. | [1] |
Measure value in the underlying asset first
In a simplified proportional vault with 120 assets and 100 shares, each share corresponds to 1.2 assets. A holder’s ten shares represent 12 assets before any fees or rounding.
This ratio is an illustration, not a universal implementation formula. Virtual balances, accounting choices and the standard’s permitted conversion estimates can change the exact contract calculation.
Use the function that matches the intended action
Redeeming a fixed number of shares and withdrawing a fixed number of assets are different requests. The relevant preview includes the operation’s fee treatment and specified rounding direction.
A preview describes conditions at the time of the call. State can change before execution, and the caller must separately check maximum permitted amounts and any enforced execution bounds.
A higher conversion does not prove earned profit
Donations can alter assets per share without representing strategy income. Fees, losses and valuation of the underlying asset also affect the holder’s economic result.
Do not use a manipulable preview as an unquestioned oracle. ERC-4626 explicitly discusses the distinction between display estimates, close previews and conversion implementations designed for more robust price use.
Direct answers
Questions people ask
If the share price rises, must my dollar value rise too?
No. The conversion is measured in underlying asset units. That asset’s dollar price can fall, and fees or other constraints can affect what the holder ultimately receives.
Inspect the evidence
The answer and key facts have stable claim links. These records retain the scope and qualification when reused.
Revision history
- — First publication after primary-source research and independent automated verification.
Source register
Sources and references
Retrieval dates and locators are recorded individually.- Tokenized VaultsEthereum Improvement Proposals
Assets, shares, deposits, withdrawals, limits and preview rounding.
Locator: Specification; Security Considerations · Version / scope: EIP/ERC-4626; retrieved document hash recorded · Retrieved: 2026-10-02T17:03:42.366ZOpen source - ERC-4626OpenZeppelin
Vault share conversion, rounding, donations and inflation-attack defenses.
Locator: Security concern: Inflation attack; Defending with a virtual offset · Version / scope: OpenZeppelin Contracts 5.x · Retrieved: 2026-10-02T17:03:43.088ZOpen source
Research and drafting use AI assistance. A separate automated review checks claims against primary sources; no external expert or named human review is implied. Publication, substantive editing, source retrieval and verification are recorded separately. This version was independently checked by an automated reviewer on 2 October 2026.
Editorial method and correctionsDegrees of Satoshi editorial project. “Vault share price: converting between shares and assets.” Published 2026-10-02; updated 2026-10-02. https://degreesofsatoshi.com/encyclopedia/vault-share-price/