How long does ovulation pain last?

Is it just a quick 5 minute pain or do you feel the pain for a day or two? I’m trying to figure out if what I feel is ovulation! Some months the pain is there and others not. But I’m currently ovulating (positive opk) and I have been having what feels like light period cramps since yesterday. Just curious!