XML 57 R41.htm IDEA: XBRL DOCUMENT
v3.25.1

Earnings Per Share | 12 Months Ended
--- | ---
Dec. 31, 2024
Text Block1 [Abstract] |
Earnings Per Share | 32. 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 |
There are no YPF financial instruments or other contracts outstanding that imply the existence of potential ordinary shares, thus the diluted earnings per share matches the basic earnings per share.

X
- Definition The entire disclosure for earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2024-01-01 -Section Disclosure -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2024-en-r&doctype=Standard&dita_xref=IAS33_g70-73A_TI -URIDate 2024-03-27 + Details
Name: | ifrs-full_DisclosureOfEarningsPerShareExplanatory
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