HSA's in retirement

I have a high-deductible insurance plan which entitles me to make an HSA contribution in 2019.  In my "What-If" form, I'm seeing that the deduction isn't reducing my gains for the year like it would for wages.  What is the formula for determining how much of a tax deduction that I'll get with an HSA contribution if I have no earned income?  TIA