Skip to content

Calculates credit card usage ratio(s) based on credit limit and balance

Notifications You must be signed in to change notification settings

kdevay/credit-utilization-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credit Utilization App

What it does:

This app calculates credit utilization using current credit card balance and limit. Users may add up to 5 credit cards by clicking the '+card' button. When all information has been added, the total and individual credit usages are calculated. Individual credit usage is the the percent usage for a single card, while total credit usage is percentage usage across all credit cards

Credit utilizations greater than 30% will be displayed in red text, since this is the recommended max.

How it works:

The calculations are derived with the following formulas:

Individual:
(balance * 100) / limit

Total:
(total balance * 100) / total limit

EXAMPLE:
card 1 - balance: 100, limit: 1000
card 2 - balance: 200, limit: 2400
card 3 - balance: 300, limit: 4000

card 1 usage: (100 * 100) / 1000 = 10.00%
card 2 usage: (200 * 100) / 2400 =  8.33%
card 3 usage: (300 * 100) / 4000 =  7.50%

total usage: [(100 + 200 + 300) * 100] / (1000 + 2400 + 4000) = 8.11%

Installation steps:

clone repository
git clone [email protected]:kdevay/credit-utilization-calculator.git

navigate to directory
cd credit-utilization-calculator

install dependencies
npm install

run the app in development mode
npm start

About

Calculates credit card usage ratio(s) based on credit limit and balance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published