How much sun do you need for vitamin D?
Your skin makes vitamin D when sunlight hits it. How long that takes depends on your skin type, the season, and where you live. Fair skin makes vitamin D fast but burns fast too. Dark skin needs much longer in the sun for the same amount, but it burns far more slowly. In summer at midday, a few minutes may be enough for fair skin, while in winter in the far north, the sun is too weak to make much vitamin D at all. This calculator gives you a rough guide in minutes, so you know what to aim for and when to put on sunscreen.
The tool is free and runs in your browser. Pick your skin type, the season, and your latitude, and it shows an estimated number of minutes of midday sun. The result is an educational estimate only, not medical advice. If you have a skin condition, take medicine that makes you sensitive to sun, or you are unsure about your own limits, talk to a clinician first.
How to use the calculator
First, pick your skin type on the scale from I to VI. Type I is very fair skin that always burns and never tans. Type II is fair skin that burns easily and tans a little. Type III is medium skin that sometimes burns and tans gradually. Type IV is olive or light brown skin that rarely burns. Type V is brown skin that very rarely burns. Type VI is dark brown or black skin that almost never burns. Next, pick the season, and then your latitude: low means near the equator, mid means places like Europe and most of the United States, and high means the far north, such as Scandinavia and Canada. The result updates live as you change any value.
Worked example
Suppose you have skin type III, it is summer, and you live at a mid latitude, such as Spain or Italy. The calculator gives about 20 minutes of midday sun. That means a short walk or lunch outside is roughly enough for the day’s vitamin D. If you have skin type I in winter at a high latitude, the estimate is about 33 minutes, which is 10 minutes times 2.5 for winter times 1.3 for high latitude, rounded to 33. If you have skin type VI in summer near the equator, the estimate is about 48 minutes, which is 60 minutes times 1.0 for summer times 0.8 for low latitude. And if you have skin type V in winter at a high latitude, the math gives more than two hours, so the calculator caps the answer at 120 minutes, because staying out longer does not make more vitamin D.
When this calculator helps
It helps most in winter, when people worry about low vitamin D and wonder whether a short walk is enough. It also helps people with dark skin who live in northern countries, because they need far more sun than their fair-skinned neighbours for the same vitamin D. Parents use it to judge how long children can play outside before sunscreen goes on. And anyone planning a holiday can compare the summer number at home with the number at their destination, and see how the sun changes with latitude.
Honest limitations
This calculator uses a simple rule, not your body. Real vitamin D production depends on how much skin is exposed, your age, your weight, cloud cover, and the time of day, and none of those are in this tool. The numbers are rough guides from general advice, not measurements of your skin. The winter sun in the far north is often too weak to make vitamin D at all, whatever the calculator says, and food and supplements matter more in those months. The tool also assumes midday sun with arms and face exposed. Never aim to burn: burning raises skin cancer risk and does not make extra vitamin D. If you need to know your vitamin D level, a blood test is the real answer.
Frequently asked questions
Does more sun make more vitamin D? No, not beyond a point. Once your skin has made enough, extra sun does not add more vitamin D. It only adds sunburn risk.
Should I use sunscreen first? Sunscreen blocks the UV that makes vitamin D, so a short time without it is the point of this guide. After the minutes shown, put sunscreen on and enjoy the sun safely.
Can I get vitamin D in winter? It is hard in the far north, where the winter sun is weak. Food such as oily fish and eggs helps, and some people take a supplement. Ask a clinician what is right for you.
What skin type am I? Think about how you burn. If you always burn and never tan, you are type I. If you rarely burn and tan easily, you are type IV or darker. When in doubt, pick the fairer type, because it gives the shorter, safer time.
Also available in Spanish: Calculadora de tiempo de sol para vitamina D por piel
