〜かいがある・〜がいがある
(it) was worth it, paid off; rewarding
Verb た-form + かいがある / かいもなく · Verb ます-stem + がいがある
Sign up free to review this point on a spaced schedule.
かいがある means an effort was worth it, because it brought results: 頑張ったかいがあって、合格できた, "my hard work paid off, and I passed". かい (甲斐) means "worth, effect".
It follows a た-form describing the effort. The negative, かいもなく, means "all for nothing": 練習したかいもなく、負けてしまった, "despite all our practice, we lost".
After a ます-stem, it becomes がい: やりがいがある, "rewarding (to do)"; 生きがい, "a reason to live"; 教えがいがある, "rewarding to teach".
It's a warm expression, often used to celebrate success or encourage someone to keep going.
Examples
頑張ったかいがあって、合格できた。
My hard work paid off, and I passed.
苦労したかいがあった。
All the hard work was worth it.
練習したかいもなく、負けてしまった。
Despite all our practice, we lost.
早起きしたかいがあって、きれいな日の出が見られた。
Getting up early paid off: we saw a beautiful sunrise.
この仕事は、やりがいがある。
This job is really rewarding.