The conditional perfect, more uses (habrían salido, me hubiera gustado)

A guess about an earlier past

You already guess about the past with the future perfect: Se habrá ido = he has probably left. When you are back in a past moment and guess about something even earlier, the verb moves back one step, to the conditional perfect: habría + participle.

guessing from nowguessing from a past moment
No contesta: habrán salido.No contestó: habrían salido.
I called at ten and nobody answered: they had probably gone out already.
Llamé a las diez y nadie contestó: habrían salido ya.

The call is past, and the leaving came before it.

He didn't say hello to me; he probably hadn't seen me.
No me saludó; no me habría visto.

As a question, it is the worry you had at the time:

It was three o'clock and Ana hadn't come back. Could she have had an accident?
Eran las tres y Ana no había vuelto. ¿Habría tenido un accidente?

In reported speech

When you report words that were in the future perfect with a past verb (dijo, prometió), they move back to the conditional perfect, just as terminaré becomes terminaría.

what was saidreported later
«Para el lunes habré terminado.»Dijo que para el lunes habría terminado.
He told me that by Monday he would already have finished the report.
Me dijo que para el lunes ya habría terminado el informe.
They promised that by eight they would already have come back.
Prometieron que para las ocho ya habrían vuelto.

Both promises were about a moment that was still ahead when they were made.

Hubiera for habría

For what would have happened, or what you would have liked, Spanish can also use hubiera + participle. Me habría gustado and Me hubiera gustado mean the same, and in Spain you will hear hubiera very often in conversation. Only in this sense, though: for a guess (habrían salido) or in reported speech (dijo que habría terminado), hubiera is not possible.

I would have liked to see you at the wedding.
Me hubiera gustado verte en la boda.
In your shoes, I wouldn't have said anything.
Yo en tu lugar no hubiera dicho nada.
And what would you have done?
¿Y tú qué hubieras hecho?

This is a common way to ask for someone's opinion about a past decision.

Contributors