calculate minimum monthly budget