I know you can do havdala after shabbat till tuesday at sunset, with some restrictions, but can you do late havdalah after yom tov ended, also what if yom tov was on shabbat (for example yom kippur that was on shabbat)
Maharshal (to OC 299:6) rules that Havdala after Yom Tov has no late option and must be said that night. Rabbi Akiva Eiger (ibid.) quotes opinions who rule similarly, but he disagrees and rules that the following daytime is also included (ie. you have 24 hours from the end of Yom Tov). The Mishna Berura (ibid. sk 16) seems to rule this way, as does the Kitzur Shulchan Arukh (196:15) and R Ovadia Yosef (Yabia Omer OC 7:47).
Birkei Yosef (OC 299) quotes an opinion that you have until the next Shabbat (or, seemingly, Yom Tov) to make up the Havdala.