Can you do raw vegan keto? We ran the numbers

A spinach, avocado and hemp salad came to 4 grams of net carbohydrate. A full 1,800-calorie day came to 11.1 grams, but supplied barely one hundredth of the adult B12 target.
A salad is the easy part. Toss 50 grams of raw spinach with 100 grams of avocado flesh and 30 grams of unroasted hemp hearts. According to USDA food composition records, that bowl delivers 337 calories and 12.9 grams of protein. Its 12.95 grams of total carbohydrate include 9 grams of fiber. Subtract the fiber, and you get 3.95 grams of net carbohydrate. Most of the protein comes from the hemp. USDA records for spinach (168462), avocado (171705) and hemp seed (170148), CSV download
What would a whole day take?
We set a different problem for a full day. Could a combination of uncooked vegan foods deliver 1,800 calories, stay under a ceiling of 50 grams of total carbohydrate and meet selected nutrient targets for a woman aged 31–50? We used the April 2018 USDA records for 73 eligible foods, including oils, dried seeds and UV-exposed mushrooms. We assumed unheated oils and unroasted nuts and seeds. The generic USDA entries do not specify every processing temperature. USDA dataset · National Academies intake tables
We asked a linear optimization program to minimize total carbohydrate while meeting 21 daily intake targets. They covered protein, fiber, the omega-3 fat alpha-linolenic acid, eight minerals and ten vitamins. We capped all oils together at 80 grams, nuts and seeds at 200 grams, total food weight at 3 kilograms, and selenium at 400 micrograms. Individual foods had portion limits too, including 60 grams of hemp seed and 300 grams of kale. Missing nutrient values contributed zero. Food composition data · Targets for adults aged 31–50
The result was 36.15 grams total carbohydrate, 25.00 grams fiber and 11.15 grams net carbohydrate. It provided 50.2 grams of protein. The table shows the modeled edible weights to three decimal places where needed. That precision lets readers check the sums. For each ingredient, multiply its USDA value per 100 grams by its weight divided by 100, then sum across ingredients. USDA SR Legacy data, searchable by FDC identifier
| Food | FDC identifier | Grams in the day |
|---|---|---|
| Raw kale | 168421 | 300 |
| Olive oil | 171413 | 60 |
| Hulled hemp seeds | 170148 | 60 |
| Raw pak choi | 170390 | 58.389 |
| Raw portabella mushrooms, UV-exposed | 170143 | 52.817 |
| Pecans | 170182 | 48.706 |
| Dried pumpkin and squash seed kernels | 170556 | 44.271 |
| Fresh basil | 172232 | 30 |
| Coconut oil | 171412 | 20 |
| Raw spinach | 168462 | 10.183 |
| Fresh spearmint | 173475 | 6.741 |
| Dried sunflower seed kernels | 170562 | 4.699 |
| Dried, unblanched Brazil nuts | 170569 | 1.747 |
Just two ingredients, the hemp and pumpkin seeds, supplied 32.3 grams of the protein. About 53 grams of UV-exposed mushrooms delivered the day’s entire 15 micrograms of vitamin D. Changing the energy and nutrient targets changed the answer. At 2,400 calories and the targets for a man aged 31–50, minimizing total carbohydrate produced 53.3 grams total and 15.3 grams net, above our 50-gram total ceiling. USDA values · UV-exposed mushroom, FDC 170143, CSV download · National Academies targets
The vitamin that barely registers
The 1,800-calorie day supplied about 0.026 micrograms of B12, a trace in the mushrooms, against an adult target of 2.4 micrograms. Iodine was outside the calculation because these records lack iodine values. We also counted nutrient content without measuring absorption. At the other end of the scale, the day contained 12.3 milligrams of manganese, above the U.S. adult upper intake level of 11 milligrams. Selenium was the only nutrient for which we imposed an upper limit. USDA dataset · Mushroom B12, FDC 170143, CSV download · B12 target · Manganese upper limit
So a raw vegan day can fit a low carbohydrate budget on paper. We have the ingredient weights to show it. Whether anyone would enter ketosis on these foods would require measuring ketones in people. The B12 and manganese figures show what a carbohydrate tally alone leaves out. USDA food data · Intake reference tables
Sources for this article
- USDA FoodData Central, Standard Reference Legacy, April 2018SR Legacy, April 2018 CSV. Match the table’s FDC identifiers to food.csv and food_nutrient.csv. Nutrient IDs 1008, 1003, 1005 and 1079 are energy, protein, carbohydrate by difference and fiber.
- USDA FoodData Central, April 2018 SR Legacy ingredient records (CSV download)In food_nutrient.csv, match the FDC IDs in the ingredient table. Spinach 168462, avocado 171705, hulled hemp 170148, and UV-exposed portabella 170143 are the four individual records discussed. Mushroom values per 100 g are 28.4 µg vitamin D and 0.05 µg B12.
- National Academies, Dietary Reference Intakes for Sodium and Potassium, Appendix J, 2019Appendix J, printed pages 568–572, 31–50-year age rows in the tables of recommended dietary allowances and adequate intakes, including 2.4 µg of B12 and 15 µg of vitamin D.
- Institute of Medicine, Dietary Reference Intakes, chapter 10, Manganese (2001)Tolerable Upper Intake Levels, Dose-Response Assessment, Derivation of a UL and “UL for Adults.” The adult row specifies 11 mg/day from age 19.

