How Do You Compare Two Foods Using "vs" in Google Search?
You can trigger a side-by-side nutritional comparison table in Google Search by typing the names of two foods separated by the word vs into the search bar. When Google recognizes both items as foods in its Knowledge Graph, it displays an interactive nutrition comparison box right at the top of the search results, allowing you to compare calories, macronutrients, vitamins, and minerals at a glance.
Basic Search Format
To bring up the comparison table, open Google Search and enter a
query in the format food 1 vs food 2. For example:
apple vs bananasalmon vs tunaoatmeal vs quinoaalmonds vs walnuts
You do not need to include words like "nutrition" or "calories" to
trigger the box, though adding them (such as
rice vs pasta nutrition) usually still works.
Tips for Triggering the Comparison Box
If the side-by-side table does not appear right away, a few adjustments can help Google recognize the foods:
- Use common, specific food names: Broad or ambiguous
terms may return regular web results instead of a nutrition card. Try
cheddar cheese vs mozzarella cheeseinstead of justcheese vs milk. - Keep it to two items: The comparison widget only supports two foods at a time.
- Avoid brand names or complex recipes: Whole,
single-ingredient foods and standard staples (like
chicken breast vs tofuorbrown rice vs white rice) are much more likely to trigger the table than branded products or multi-ingredient dishes. - Check your spelling and language: The feature works best in English and relies on exact or close matches to entries in Google's food database.
Using the Interactive Features
Once the comparison table appears, you can customize what you see directly within the search results:
- Change serving sizes: Use the dropdown menus beneath each food name to switch between standard portions, such as 100 grams, 1 cup, or 1 medium piece.
- Expand nutrient categories: Click on sections like Vitamins or Minerals to view detailed breakdowns, including Daily Value percentages.
- Swap foods: Some versions of the widget allow you to click on either food name to type in a different item without leaving the results page.