The bodega to supermarket ratio is calculated by counting the number of bodegas (small corner stores) for every supermarket within each community district. In general, bodegas have limited options for fresh produce and healthy snacks compared to larger, well-stocked grocery stores.