Question : How long do most people visit Krakow?
Answer : Of course you're not most people, but if you were, you'd stay roughly 28 days.
Question : If your plans are flexible, have you considered changing your departure day?
Answer : For the month of August, the cheapest day to fly is Tuesday. Being flexible with your travel days garners even more savings during booking.