Just go to sleep & don't worry too much. You are doing fishless cycling, mistakes can set you back a few days, but nothing disastrous.
A quick estimate of ammonia needed:
Ace ammonia = 10% (substitute the appropriate % for your ammonia.)
10% = 10 g% = 10 g per 100 ml = 0.1g per ml = 100 mg per ml
4ppm = 4 mg per l
Your tank = 20 gal = ~80 l
4 ppm in your tank = 4x80 = 320 mg
Therefore, to dose 4ppm into your tank, add 3.2 ml of 10% ammonia. That should be fairly close. Check with your test kit after dosing to make any final adjustment.