Studies say that we, on average, underestimate the content of restaurant food by 600 calories. They're right.

NYC law requires restaurants with over 10 locations to label their menus with calorie totals. Even at Starbucks, drink calories are not even close to what I would have guessed. My morning Frappuccino is 950 calories and a lesson in data transparency.

cannot connect

'; exit (); } if (!@mysql_select_db('11159_calories')) { exit('

Unable to connect to database at this time.

'); } //did they submit a calorie estimate if(isset($_GET['send'])) { $usercalorie = htmlspecialchars($_GET['usercalorie']); $actualcalorie = htmlspecialchars($_GET['actualcalorie']); $foodid = htmlspecialchars($_GET['foodid']); $maxid = htmlspecialchars($_GET['maxid']); $image = htmlspecialchars($_GET['image']); //insert into 'SUBMIT' the $actualcalorie and $foodid $sql = "INSERT INTO submit SET foodid='$foodid', usercalorie='$usercalorie', date=now()"; if (@mysql_query($sql)) { } else { exit('

error adding to rankings table: ' . mysql_error() . '

'); } //average of the calories in the submit column $query = "SELECT AVG(usercalorie) FROM submit WHERE foodid='$foodid';"; $result = @mysql_query("$query") or die('

There was an unexpected error grabbing studies from the database.

'); while ($row = mysql_fetch_array($result)) { $average = stripslashes($row['AVG(usercalorie)']); $average2 = number_format($average,0); } $foodid = $foodid + 1; $usercalorie2 = $usercalorie; $image2 = $image; $actualcalorie2 = $actualcalorie; $percent = $actualcalorie2/2500*100; $percent = number_format($percent,0); $percent2 = $actualcalorie2/$average*100; $percent2 = number_format($percent2,0); //end of the if statement of something submitted } //else if nothing submitted else { $query = "SELECT MAX(ID) FROM food"; $result = @mysql_query("$query") or die('

There was an unexpected error grabbing studies from the database.

'); while ($row = mysql_fetch_array($result)) { $maxid = stripslashes($row['MAX(ID)']); } $foodid = rand(1, $maxid); } //end of if statement and else, reset of ID if hit the max if($foodid==$maxid+1){ $foodid = 1; } $query = "SELECT * FROM food WHERE ID='$foodid'"; $result = @mysql_query("$query") or die('

There was an unexpected error grabbing studies from the database.

'); //get the food pictures and calorie counts from the database while ($row = mysql_fetch_array($result)) { $foodid = stripslashes($row['ID']); $actualcalorie = stripslashes($row['actualcalorie']); $image = stripslashes($row['image']); $description = stripslashes($row['description']); } ?>
"; ?>

How many calories?

One ".$description); ?>

Your Guess:

Average Guess:

Actual Calories:

".$percent2."% of the average guess and ".$percent."% of your 2,500 daily calorie intake";} ?>

";} ?>

A Lesson in Data Transparency

It's classic paternalism. By mandating that restaurants post calorie counts, NYC nudges New Yorkers to eat healthier. It worked-- a survey found that menu labels affected 82% of New Yorkers' food choices--even I reduced my McGriddle intake. But there have been other changes to my purchasing behavior.

1. I'm less likely to eat healthy, sometimes

Menu labels allow for some simple math. Divide the item prices by their respective calorie totals and you get this:

A $1.99 triple-thick Chocolate Shake buys half my day's worth of nourishment. I'd have to spend $17.96 to get the equivalent number of calories from McSalads. If I’m really hungry and money is tight, what’s the logical choice?

2. Choosing based on averages

Restaurants often place a very expensive item of the menu for perspective. It makes everything else seem cheaper--it’s much easier to rationalize a $20 entree if it’s right next to one that’s $60.

Similarly, I imagine the same dynamic appears at Dunkin Donuts. If all of the items are 800-1,500 calories, the 700 calorie reduced-fat muffin doesn’t seem so bad. And rarely do I grasp the absolute value of calories—I just know that 700 calories is better than 800 calories. I never realize that it's 30% of my daily calories.