On 20 August 2026, the Oil and Gas Regulatory Authority (OGRA) rebuilt its diesel price build-up. Petrol’s build-up stayed the same.
A parser reading the new page the old way would have shown diesel at Rs 5 a litre. My record refused the day instead.
The new page also showed the refining margin (OGRA’s table calls it the “HSD crack”) for the first time.
Every figure here comes from archived OGRA documents, listed in the OGRA manifest.
Each document’s SHA-256 digest is recorded, so you can check any claim against the exact file it came from.
The last section lists every other layout change OGRA has made since my record began on 21 July 2026.
What changed in the diesel build-up on 20 August 2026?
A build-up is OGRA’s table of every part of the price. Each row has a letter.
The change came in OGRA’s publication effective 20 August 2026, 00:00 hours. The petrol build-up in the same document did not change at all.
The old diesel build-up had 20 rows, lettered A to T. The new one has 23, lettered A to W.
From D onward, every letter now means something different. On 19 August, K was the customs duty and T was the pump price.
On 20 August, K is the cost at Karachi port, M is the customs duty, and W is the pump price.
3 things changed in what the rows mean, and 1 changed in how they are laid out.
- Row A is now crude oil. It was the Platts price for finished diesel; it is now the Platts price for Dubai crude.
- Refining now has its own row. Row D, the refining margin, was US$41.89 a barrel on 20 August.
- Freight and insurance has its own row. Row B was “Premium including Freight”; now it is the Aramco premium alone, and freight is row C.
- A subtotal was added. Row U, the price before sales tax, now sits between the price before levies and the total.
Platts is a company that publishes daily oil prices. Both row A figures are 7-working-day rolling averages of its prices.
OGRA describes row D as “Difference of international price of HSD and crude”. HSD means high-speed diesel.
The new Aramco premium in row B was negative on 20 August, at −1.00 US dollars a barrel.
Petrol’s build-up did not change. It still runs A to T, priced from the Platts price for petrol (gasoline 92 RON).
Its premium and freight are still 1 row. So from 20 August 2026, the 2 pages of 1 OGRA publication have different layouts.
How do the old and new diesel rows compare?
The left half is the diesel page of 19 August 2026. The right half is the diesel page of 20 August 2026, as published.
| Old | Old label | 19 Aug | New | New label | 20 Aug |
|---|---|---|---|---|---|
| A | Diesel Platts Arab Gulf Mean Average (USD/bbl) | 152.80 | A | Dubai Crude Oil Platts Arab Gulf Mean Average (USD/bbl) | 89.46 |
| B | Premium including Freight (USD/bbl) | 5.10 | B | Aramco Crude Oil Premium (USD/bbl) | −1.00 |
| — | — | — | C | Freight and Insurance (USD/bbl) | 8.00 |
| — | — | — | D | HSD Crack (USD/bbl) | 41.89 |
| C | Cost & Freight = {A+B} (USD/bbl) | 157.90 | E | Cost & Freight = {A+B+C+D} (USD/bbl) | 138.35 |
| D | SBP Avg Exchange Rate (Rs/USD) | 277.80 | F | SBP Avg Exchange Rate (Rs/USD) | 277.79 |
| E | Conversion Factor (ltr/bbl) | 158.98 | G | Conversion Factor (ltr/bbl) | 158.98 |
| F | Cost & Freight in Pak Rs. = {C*D/E} | 275.91 | H | Cost & Freight in Pak Rs. = {E*F/G} | 241.73 |
| G | Incidentals | 0.20 | I | Incidentals | 0.20 |
| H | Ocean Loss/(Gain) | 0.39 | J | Ocean Loss/(Gain) | 0.00 |
| I | Diesel Cost at Karachi Port = {F+G+H} | 276.50 | K | Diesel Cost at Karachi Port = {H+I+J} | 241.93 |
| J | Exchange Rate Adjustment | 0.00 | L | Exchange Rate Adjustment | 0.00 |
| K | Customs Duty | 15.68 | M | Customs Duty | 15.68 |
| L | Ex-Refinery/Import Price = {I+J+K} | 291.96 | N | Ex-Refinery/Import Price = {K+L+M} | 257.61 |
| M | IFEM | 3.94 | O | IFEM | 3.94 |
| N | OMC’s Margin | 7.87 | P | OMC’s Margin | 7.87 |
| O | Dealer’s Margin | 8.64 | Q | Dealer’s Margin | 8.64 |
| P | Price before PL, CSL & ST = {L+M+N+O} | 312.41 | R | Price before PL, CSL & ST = {N+O+P+Q} | 278.06 |
| Q | Petroleum Levy (PL) | 78.28 | S | Petroleum Levy (PL) | 80.00 |
| R | Climate Support Levy (CSL) | 5.00 | T | Climate Support Levy (CSL) | 5.00 |
| — | — | — | U | Price before Sales Tax = [R+S+T] | 363.06 |
| S | Sales Tax (ST) | 0.00 | V | Sales Tax (ST) | 0.00 |
| T | Total Diesel Price (excl. Secondary Freight) = {P+Q+R+S} | 395.69 | W | Total Diesel Price (excl. Secondary Freight) = {U+V} | 363.06 |
All figures are rupees a litre unless a unit is given. Row U uses square brackets, U=[R+S+T]; every other formula uses braces.
That is OGRA’s own inconsistency, not a copying error. Row F had the same brackets in every issue from 21 July to 1 August 2026.
My parser has treated the 2 bracket styles as the same since then.
Which row moved to which letter?
| Concept | Old letter | New letter |
|---|---|---|
| International quotation, per barrel | A (finished diesel) | A (Dubai crude) |
| Supplier premium | B (premium including freight) | B (Aramco crude premium) |
| Freight and insurance | inside B | C |
| Refining margin (HSD crack) | inside A | D |
| Cost and freight, US dollars | C | E |
| Exchange rate | D | F |
| Conversion factor | E | G |
| Cost and freight, rupees per litre | F | H |
| Incidentals | G | I |
| Ocean loss or gain | H | J |
| Cost at Karachi port | I | K |
| Exchange rate adjustment | J | L |
| Customs duty | K | M |
| Ex-refinery / import price | L | N |
| IFEM | M | O |
| OMC margin | N | P |
| Dealer margin | O | Q |
| Price before levies | P | R |
| Petroleum Levy | Q | S |
| Climate Support Levy | R | T |
| Price before sales tax | not published | U |
| Sales tax | S | V |
| Total, excluding secondary freight | T | W |
17 of the 23 rows are unchanged in substance and changed in letter.
Only 2 rows are truly new: freight and insurance, and the refining margin. Row U, the price before sales tax, just adds up existing rows.
What did the new layout show for the first time?
Under the old build-up, diesel was priced from a Platts price for finished diesel. The cost of refining was hidden inside that price.
So the refining margin did not appear anywhere on the page. You could not separate it from the cost of the crude.
Under the new build-up, it is row D: US$41.89 a barrel on 20 August 2026.
The same page gives the exchange rate, 277.79 rupees to the dollar, and the conversion factor, 158.98 litres to a barrel.
With those, row D comes to 73.20 rupees a litre, or 20.16% of the pump price.
That was the first day you could read the refining margin in a Pakistani diesel litre off a published document.
So my crude oil line means different things before and after the change. The 2 cannot be compared as a series:
| Diesel, per litre | 19 August 2026 | 20 August 2026 |
|---|---|---|
| Crude oil line | 267.00 (67.48%) — a quotation for finished diesel | 156.32 (43.06%) — a quotation for Dubai crude |
| Crude premium | — | −1.75 |
| Freight and insurance | — | 13.98 |
| Refining margin | not published | 73.20 (20.16%) |
| Premium including freight | 8.91 | — |
| Incidentals | 0.20 | 0.20 |
| Ocean loss or gain | 0.39 | 0.00 |
| Exchange rate adjustment | 0.00 | 0.00 |
| Customs duty | 15.68 | 15.68 |
| Domestic refinery blend | −0.22 | not published |
| Published rounding | — | −0.01 |
| IFEM | 3.94 | 3.94 |
| OMC margin | 7.87 | 7.87 |
| Dealer margin | 8.64 | 8.64 |
| Petroleum Levy | 78.28 | 80.00 |
| Climate Support Levy | 5.00 | 5.00 |
| Sales tax | 0.00 | 0.00 |
| Total | 395.69 | 363.06 |
Here is the same litre in the 4 groups my record used at the time:
| Bucket | Diesel, 19 August | Diesel, 20 August |
|---|---|---|
| Crude oil | 267.00 | 156.32 |
| Refining and freight | 9.28 | 85.61 |
| Distribution and dealers | 20.45 | 20.45 |
| Government levies | 98.96 | 100.68 |
The customs duty of 15.68 is in the Government group on both days.
I used to put it with refining, because OGRA’s table charges it before the ex-refinery price.
But the groups show where the money goes, not OGRA’s layout. A duty is a tax, whichever row it is printed in.
That move shifts 15.68 between 2 groups on every day in the record. It changes no published figure.
Nothing about how diesel is made changed overnight. What changed is where the document draws the line between crude and refining.
The crude group fell by 110.68 and the refining group rose by 76.33. That is a change in the accounting, not in supply.
A chart reader could easily mistake it for a market event. That is why I write it down here.
What disappeared from the diesel page?
From 12 to 19 August 2026, diesel pages carried a small table below the main build-up. It had no letters.
It compared imported diesel with diesel refined in Pakistan. On 19 August it read:
| Row | 19 August 2026 |
|---|---|
| HSD (Ex-Refinery Price) | 291.79484 |
| HSD (Import Price) | 292.18210 |
| Weighted Average Price | 291.96 |
| Extra Margin | 0.16516 |
That table explained a gap. The lettered rows reached 292.18, but the notified ex-refinery/import price was 291.96.
The notified figure was the weighted average of imported and local diesel. The 0.22 gap was the saving from the local share.
The 20 August diesel page has no such table. I treat that as a missing table, not as a fault.
No diesel page carried one before 12 August. From 12 August on, the table was optional.
The 12 August issue printed only 3 of its 4 rows, leaving out the extra margin.
Without the table, the small gap between the lettered rows and the notified price comes from OGRA rounding its own printed figures.
On 20 August that gap is 1 paisa. I label it published rounding, not a refinery blend.
Calling it a blend would be a confident claim about diesel pricing. The document does not support it.
What were the notified prices on each day?
These are the prices as published, with no claim about why they moved.
| Product | 19 August 2026 | 20 August 2026 | Change |
|---|---|---|---|
| Petrol | 334.54 | 337.51 | +2.97 |
| High-speed diesel | 395.69 | 363.06 | −32.63 |
2 other published diesel figures moved between the 2 documents. The Petroleum Levy went from 78.28 to 80.00 rupees a litre.
The State Bank of Pakistan (SBP) average exchange rate went from 277.80 to 277.79 rupees to the dollar.
The other lines are the same on both days: customs duty, IFEM, OMC margin, dealer margin, Climate Support Levy and sales tax.
I do not say the price change came from the new layout, the levy, or anything else.
I only record that the build-up changed shape and the price changed on the same day.
Another wording change matters, because it is about where a figure comes from, not the arithmetic.
The old row B was described as “Freight and margin based on G-to-G agreement with Kuwait Petroleum Corporation”.
The new row B is “Aramco’s crude oil premium for Arab Extra Light for Asia notified on monthly basis”.
The new row C is “Federal Government approved Freight & Insurance cost for crude vessel imports from Gulf Region”.
How did my record catch the change?
My record noticed the change on the day it happened. Nobody had to read the document first.
It downloaded the 20 August publication at 19:08 UTC on 19 August 2026. That was just after midnight in Pakistan, when the price takes effect.
The parser read the diesel page with the only layout it knew. It took rows A to T and skipped the last 3.
From D onward, every value it took sat under a letter that no longer meant what the parser assumed.
So the arithmetic checks failed, because a build-up read the wrong way does not add up. 2 checks are fatal, and both failed:
- diesel: P is 7.87 but L + M + N + O is 277.23; difference 269.36
- diesel: T is 5.00 but P + Q + R + S is 374.57; difference 369.57
3 other checks, which are not fatal, found the same problem higher up the chain:
- C against A + B: out by 80.46
- F against C × D ÷ E: out by 275.37
- I against F + G + H: out by 678.30
Because a fatal check failed, my record marked the day unverified and kept it off the site.
Otherwise it would have shown diesel at 5.00 rupees a litre. That is row T, which the new layout uses for the Climate Support Levy.
3 features of my pipeline made this a caught error, not a published one.
First, every letter A to T had to be present, or the day stopped. Rows could not quietly go missing.
Second, the 2 sums that carry the price to the pump had to add up. A build-up read out of order could not pass.
Third, a day that fails a fatal check is saved in full, kept off the site, and listed as withheld, with its reasons.
So I could find the cause from my record alone, without going back to the source.
And you can tell a day nobody published from a day I chose not to publish.
Petrol passed every check on the same document. That shows the failure came from the page that changed.
How does the parser now tell the 2 layouts apart?
It decides the layout from what is printed on the page, never from the date.
OGRA reissues documents. A date rule would misread an older publication reissued on a later day.
What identifies a page is the set of formulas OGRA prints beside the rows it calculates.
The old build-up prints 6: C={A+B}, F={C*D/E}, I={F+G+H}, L={I+J+K}, P={L+M+N+O} and T={P+Q+R+S}.
The new one prints 7: E={A+B+C+D}, H={E*F/G}, K={H+I+J}, N={K+L+M}, R={N+O+P+Q}, U=[R+S+T] and W={U+V}.
A page is read under the layout whose full set it carries. The bracket style is ignored when comparing.
These sets describe arithmetic, not wording. OGRA writes them, and no page can carry both at once.
A page that carries neither set is refused, and the day is withheld.
That is the right result for a third change of layout. It should stop the pipeline, not be read as the closest known layout.
Each page is checked on its own. That is how petrol and diesel can use different layouts in the same file.
Where can you check the 2 documents?
Both documents are served from this site. You can check each against its SHA-256 digest, a fingerprint of the file’s exact bytes.
| Effective date | OGRA document | Archived at | SHA-256 |
|---|---|---|---|
| 19 August 2026 | 15402 | `data/source/ogra/2026-08-19.pdf` | b8cb6831bb8344a4be031e43315f57b682ffeb2a749fb18b0ce015567a8a673b |
| 20 August 2026 | 15453 | `data/source/ogra/2026-08-20.pdf` | 490b234769de58c2fdd2e9ec008d0fdedea1309e0dfa550050bacb1256d14b3b |
I downloaded the 19 August document at 13:52:33 UTC on 19 August 2026, from https://www.ogra.org.pk/download/15402?lang=en.
I downloaded the 20 August document at 19:08:06 UTC on 19 August 2026, from https://www.ogra.org.pk/download/15453?lang=en.
OGRA rewrites its listing page each time it publishes. So a publication drops out of view within a few weeks.
The document itself is still served, under an id that nothing links to. My archived copies keep it findable and unchanged.
What OGRA serves maps OGRA’s whole document id space. It also corrects what I used to say about it.
I also keep the text taken from both files, word for word. So the parser stays tied to these exact bytes.
What did this change in my published data?
Day records and the history now name the layout each product page was read under. The letters mean nothing without it.
Records written before 20 August 2026 name no layout. They are read as the old one, the only one that existed then.
My line-by-line data gained 3 keys, all for the new diesel build-up: crude_premium, freight_and_insurance and crack_spread.
The old premium_and_freight line is not reused for the new premium. The new premium leaves out freight, so reusing it would be wrong.
So a new-layout page has 15 lines, and an old-layout page has 13. Both still add up exactly to the published pump price.
Both also still sort into the same groups.
The flat export at data/daily.csv gained 3 columns for those keys. They were added at the end, so no existing column moved.
If a product does not publish a line, its column is empty, not zero. Empty means the document states no such figure.
A zero means the document does state one, as petrol’s sales tax does.
What other changes has OGRA made to its documents?
These are changes in how the documents are written, not in what they publish.
I record each one because it broke, or would have broken, a parser that expected every document to look the same.
| From | Change |
|---|---|
| Before 21 July 2026 | There is no build-up. OGRA’s price publication family runs weekly back through the spring of 2026, but those documents are one-page price-change notices — the old price, the new price and the difference, for diesel and petrol — with nothing about what is inside either. Established by sweeping OGRA’s document id space and reading every member of the family; see What OGRA serves. |
| 21 July 2026 | The archive begins, and so does the build-up: this is the first document in the family that carries the lettered rows. Both products use the A-to-T build-up. OGRA serves this day’s document under two ids, 14557 and 14672, and the bytes are identical. |
| 21 July – 1 August 2026 | Row F’s formula is written in square brackets, F=[C*D/E], where the other five formulae on the same page use braces. From 4 August it is written in braces like the rest. A parser that blanked only braces read no F at all and treated ten of the first twenty publications as missing a mandatory row. |
| 12 August 2026 | The diesel page begins carrying the domestic refinery blend table. This first issue published three of its four rows, omitting the extra margin; every issue from 13 to 19 August carried all four. |
| 20 August 2026 | The diesel build-up is restructured, as above. The blend table is not carried. |
Through all of this, OGRA’s filenames for these documents have appeared in 4 different spellings. One title also has a stray comma.
That is why nothing in my record depends on a filename, a title or a row label.
Common questions
What changed in OGRA’s diesel build-up on 20 August 2026?
OGRA now prices diesel from Dubai crude, not finished diesel. It added rows for the refining margin, freight and insurance, and a subtotal.
Did petrol’s build-up change too?
No. Petrol’s build-up still runs A to T, and it is still priced from the Platts price for petrol.
How big was the refining margin on 20 August 2026?
It was US$41.89 a barrel, which is Rs 73.20 a litre. That is 20.16% of the diesel pump price of Rs 363.06.
Did the new layout make diesel cheaper?
I do not say so. Diesel fell by Rs 32.63 that day, but the levy and the exchange rate also moved.
Why was 20 August withheld at first?
Read the old way, the page gave diesel a pump price of Rs 5.00. 2 fatal arithmetic checks failed, so my record withheld the day.
Sources
- The 19 August 2026 diesel and petrol build-upsOGRA’s price notification effective 19 August 2026, document 15402Primary · SHA-256 archived
- The 20 August 2026 diesel and petrol build-upsOGRA’s price notification effective 20 August 2026, document 15453Primary · SHA-256 archived
- Every archived OGRA document and its digestThe OGRA manifest in this recordPrimary · SHA-256 archived
- OGRA’s document ids and listing pageWhat OGRA serves, a map of its document idsAnalysis
The per-litre figures for the crude oil line and the refining margin are my conversions of OGRA’s per-barrel rows, at the page’s own exchange rate and conversion factor.