ordinals.buzz

How a Bitcoin Inscription Works, and What Its Data Costs to Store

An Ordinals inscription is a file written into a Bitcoin transaction and attached to one satoshi. The file is not stored on a server. It sits in the transaction itself, and the transaction fee depends on how many bytes that file occupies. This page explains the mechanism in plain words and calculates the minimum fee that the file alone requires.

What an inscription is

The Ordinals documentation describes inscriptions as content stored "entirely on-chain, stored in taproot script-path spend scripts." Each inscription has two main parts: a MIME content type, which tells software what kind of file it is, and a body, which is a string of bytes. An image, a short text or a small web page can all be inscribed, as long as they fit the size limits discussed below.

The content is wrapped in what the documentation calls an envelope, a block of script that begins with OP_FALSE OP_IF and ends with OP_ENDIF. Because the condition is always false, the data inside is never executed. It only rides along. The documentation notes that this kind of script also receives the witness discount, which makes the storage cheaper than putting the same bytes in a normal output.

Which satoshi carries it

An inscription is attached to a sat, using the numbering that ordinal theory defines. When the sat moves to a new output, the inscription moves with it.

Four terms worth knowing

TermMeaning, from the Ordinals documentation
Inscription numberNumbers begin at zero and follow the order in which reveal transactions appear in blocks.
Cursed inscriptionAn inscription that gets a negative number, starting at -1 and counting down. Cursed inscriptions from the jubilee at block 824,544 onward are "vindicated" and receive positive numbers.
ReinscriptionAdding a new inscription to a sat that already has one, without changing the original.
Data push limitIndividual data pushes may not be larger than 520 bytes, so larger files are split across several pushes.

The witness math behind the fee

Bitcoin charges for block space in weight units. Under BIP 141 a block may hold at most 4,000,000 weight units. Each byte of non-witness data counts as 4 weight units and each byte of witness data counts as 1. Virtual size, written vB or vbyte, is weight divided by four, so a full block is 1,000,000 vB. Fees are quoted in satoshis per vB.

Inscription data lives in the witness, so each byte of content weighs 1 unit and adds one quarter of a vB. Splitting the file into pushes adds a small header per push: 1 byte for pushes up to 75 bytes, 2 bytes for pushes of 76 to 255 bytes, and 3 bytes for pushes of 256 to 520 bytes. These are the standard Bitcoin Script encodings.

Content sizePushesScript bytesvBSats at 2 sat/vBSats at 10 sat/vBSats at 50 sat/vB
1,000 bytes21,006251.55032,51512,575
10,000 bytes2010,0592,514.755,03025,148125,738
50,000 bytes9750,29012,572.525,145125,725628,625
100,000 bytes193100,57825,144.550,289251,4451,257,225

The rows are computed with the calculator below and rounded up to whole sats. They count only the content pushes. The rest of a real transaction, such as inputs, outputs, signatures and the envelope's own tags, adds more.

Inscription data fee calculator

Enter a content size and a fee rate.

Method: script bytes equal the content size plus the push headers described above. Weight units equal script bytes, because witness bytes weigh 1 each. vB equals weight divided by 4, and the fee floor equals vB times your fee rate, rounded up to a whole sat. Block share compares weight with the 4,000,000 limit. The result is a lower bound for the content only. Check the fee that your own software shows before you send anything. The USD line only multiplies by the price that you type, and it is not a forecast. Bitcoin Core's default relay policy also limits a standard transaction to 400,000 weight units, and the calculator warns when the content alone passes that.

Frequently asked questions

Is the file stored on a server or on the blockchain?

On the blockchain. The Ordinals documentation says inscription content is stored entirely on-chain, inside the transaction that reveals it.

Why do inscriptions cost less than the same bytes in a normal output?

They sit in witness data, and BIP 141 counts each witness byte as 1 weight unit instead of 4. The documentation names this discount as the reason for relatively cheap storage.

What does a negative inscription number mean?

It marks a cursed inscription. The documentation says these get negative numbers, and that cursed inscriptions from block 824,544 onward are vindicated and receive positive numbers.

Does the calculator give the exact fee I will pay?

No. It gives a lower bound for the content alone. Inputs, outputs, signatures and other parts of the transactions add to the total.

About this site

ordinals.buzz is an independent informational site about Bitcoin Ordinals. It sells nothing, runs no ads or tracking scripts and collects no email addresses. Facts come from the Ordinals documentation (the ord project) and from BIP 141, the segregated witness specification, as summarized on the Bitcoin Wiki. Last reviewed: November 2026.

Educational content, not financial advice.