It's better to store all calculated PI values in Context.getExternalFilesDir("calculated_pi_values"); This folder will be deleted on app uninstall. Read more about it in JavaDocs