XML 97 R81.htm IDEA: XBRL DOCUMENT
v3.25.1

Earnings Per Share (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2024
Text Block1 [Abstract] |
Summary of Earnings Per Share | The following table shows the net profit or loss and the number of shares that have been used for the calculation of the basic and diluted earnings per share:
|  | 2024 |  |  |  |  |  | 2023 |  |  |  |  |  | 2022 |
Net profit / (loss) |  |  | 2,348 |  |  |  |  |  |  |  | (1,312) |  |  |  |  |  |  |  | 2,228 |
Weighted average number of shares outstanding |  |  | 392,088,496 |  |  |  |  |  |  |  | 391,722,944 |  |  |  |  |  |  |  | 392,719,453 |
Basic and diluted earnings per share |  |  | 5.99 |  |  |  |  |  |  |  | (3.35) |  |  |  |  |  |  |  | 5.67 |

X
- Definition The disclosure of earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2024-01-01 -Paragraph 66 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2024-en-r&anchor=para_66&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_EarningsPerShareExplanatory
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | ypf_TextBlock1Abstract
Namespace Prefix: | ypf_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration