Deductions & credits

If I work used a 10 x 10 ft area of my home for self employment activities, per the $5 calculation that would be $5 x 100 = $500. 

Since I only worked 4 months of 2022 as self employed, does that mean I can only take 1/3 of the $500, which is $165?  Or can I claim the full $500? 

Thanks