A couple of weeks for mild sprain. Six weeks or more for severe sprains. Moderate is in between.
Calf strain recovery time
Most people recover fully from pulled calf muscles without any permanent damage. Ask your healthcare provider when you can gradually start to do light activities again. Depending on the severity of your injury, it may be several weeks or even months before you can return to full activities.
https://my.clevelandclinic.org/health/diseases/21558-pulled-calf-muscle