...
From online, it seems around 1% of Vout ripple voltage is desirable (lower is better obv)
Since we’re using X5R and X7R capacitors I’m assuming ESR can be ignored???
Vout is 5V so 1% is 0.05V would be preferred
For ripple current 0.2,0.3,0.4 of Iout = 4A (0.8A, 1.2A, 1.6A → 2uF, 3uF, 4uF)
higher capacitance = less ripple voltage = better 😄
https://rfcafe.com/references/electrical/capacitor-values.htm
Standard cap values within range: 2.2uF, 3.3uF
I will be choosing 3.3uF (at 0.3Iout ripple current, this is around 0.9% of output voltage (45mV)
4.7uF also works and this reduce the ripple voltage even more
Should be rated for >4A and >5V
...