The time it takes to charge a portable charger, also known as a power bank, depends on several factors, including its capacity, the input current, and the charging technology used. 
1. **Capacity**: Measured in milliampere-hours (mAh), the capacity of a power bank directly affects charging time. A higher capacity power bank, such as 20,000mAh, will take longer to charge than a smaller one, like 5,000mAh.
2. **Input Current**: The input current, measured in amperes (A), is crucial. Most power banks have an input current of 1A, 2A, or higher. A power bank with a 2A input will charge faster than one with a 1A input, assuming the power source can supply the necessary current.
3. **Charging Technology**: Technologies like Quick Charge or Power Delivery can significantly reduce charging times. These technologies allow for higher power transfer rates, provided both the power bank and the charger support them.
4. **Charger Output**: The output of the charger used also impacts charging time. A charger with a higher output (e.g., 5V/2A) will charge a power bank faster than one with a lower output (e.g., 5V/1A).
5. **Cable Quality**: The quality and type of cable used can affect charging speed. A high-quality, short cable with a higher gauge can reduce resistance and improve charging efficiency.
On average, a 10,000mAh power bank with a 2A input might take around 5-6 hours to charge fully using a compatible charger. A larger 20,000mAh power bank could take 10-12 hours under similar conditions. Using fast-charging technologies can reduce these times significantly.