v3.24.0.1

Earnings per share (Details) - USD ($) $ / shares in Units, $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
Earnings per share [Abstract] |  |  |  |
Potential issuance of shares on settlement of Green Exchangeable Notes (in shares) |  | 3,347,305 | 3,347,305 | 3,347,305
Potential issuance of shares to employees under long-term incentive plan (in shares) |  | 217,418 | 226,032 | 327,749
Potential issuance of subscribed shares (in shares) |  |  | 596,681 | 725,041
Profit/(loss) attributable to Atlantica |  | $ 43,380 | $ (5,443) | $ (30,080)
Average number of ordinary shares outstanding - basic (in shares) |  | 116,152,000 | 114,695,000 | 111,008,000
Average number of ordinary shares outstanding - diluted (in shares) |  | 119,720,000 | 118,865,000 | 115,408,000
Earnings per share for the year - basic (in dollars per share) |  | $ 0.37 | $ (0.05) | $ (0.27)
Earnings per share for the year - diluted (in dollars per share) | [1],[2] | $ 0.37 | $ (0.09) | $ (0.28)
[1] | Antidilutive effect applied, where applicable (see Note 24)
[2] | The potential ordinary shares related to the Green Exchangeable Notes and the long-term incentive plans granted to employees have not been considered in the calculation of diluted earnings per share for the year ended December 31, 2023, as they have an antidilutive effect. For the years ended December 31, 2022, and December 31, 2021, the potential ordinary shares related to the long-term incentive plans granted to employees and the ATM program have not been considered in the calculation of diluted earnings per share as they have an antidilutive effect.

X
- Definition The number of dilutive potential ordinary shares that relate to the contingently issuable shares of the entity. + References No definition available. + Details
Name: | aby_DilutiveEffectOfContingentlyIssuableShares
Namespace Prefix: | aby_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of dilutive potential ordinary shares that relate to the contingently issuable shares granted to employees of the entity under long-term incentive plan. + References No definition available. + Details
Name: | aby_DilutiveEffectOfContingentlyIssuableSharesGrantedToEmployeesUnderLongTermIncentivePlan
Namespace Prefix: | aby_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average number of ordinary shares outstanding plus the weighted average number of ordinary shares that would be issued on the conversion of all the dilutive potential ordinary shares into ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2023-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_70_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_AdjustedWeightedAverageShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator) divided by the weighted average number of ordinary shares outstanding during the period (the denominator). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2023-01-01 -Paragraph 66 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_66&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2023-01-01 -Paragraph 67 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_67&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_BasicEarningsLossPerShare
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator), divided by the weighted average number of ordinary shares outstanding during the period (the denominator), both adjusted for the effects of all dilutive potential ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2023-01-01 -Paragraph 66 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_66&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2023-01-01 -Paragraph 67 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_67&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DilutedEarningsLossPerShare
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition The potential dilutive effect on the weighted average number of ordinary shares that relate to the assumed conversion of the entity's convertible instruments. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 33 -IssueDate 2023-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_70_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DilutiveEffectOfConvertibleInstrumentsOnNumberOfOrdinaryShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The profit (loss) from continuing and discontinued operations attributable to owners of the parent. [Refer: Profit (loss)] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 81B -Subparagraph a -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_81B_a_ii&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_ProfitLossAttributableToOwnersOfParent
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The number of ordinary shares outstanding at the beginning of the period, adjusted by the number of ordinary shares bought back or issued during the period multiplied by a time-weighting factor. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 33 -IssueDate 2023-01-01 -Paragraph 70 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2023-en-r&anchor=para_70_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_WeightedAverageShares
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration