As others have pointed out, it depends on time of year and where you live. Far north, e.g. Canada, the U.K, Scandinavia the sun won't give you any Vitamin D at all for roughly six months of the year.
There’s also “Quick and Easy Screening for Vitamin D Deficiency in Adults”[1] which has a quick and dirty formula in Table 2 to help assess your risk of deficiency without a blood test.
[1]https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4998626/pdf/med...