My calves used to cramp up in the middle of the night when I first joined the army (15 years ago). I couldn’t get supplements so I started having a couple bananas (potassium) with each meal and that almost completely stopped the cramping.
I had occasional cramps in my calves at night. I just started sleeping with a bar of soap under the mattress and it cleared it right up. It was told to me as a home remedy and I did it as a lark. But sonofabitch it worked. There was one night cramp since I started doing that and it turned out the wife had removed the soap the last time she changed the sheets because she thought it was silly.
I also have some really good jow I slap on when I get a cramp that makes it go away immediately and keeps it from hurting. It used to be that those calf cramps would ache for days after.
Consider having your electrolytes checked, incl mg, ca ionized etc. Unless you’re just a couch potato ofc.
Yeah I drink too much water when I'm out sweating. Ever since I learned that too much gatorade can give you kidney stones I've cut way back on that shit.
If you're wondering, yes I was sweating like crazy in most of the fuck marathons when I cramped up. Sex was good exercise all the way through my 30s.