# Building a simple calculator for Food Recovery

**URL:** <https://community.glideapps.com/t/building-a-simple-calculator-for-food-recovery/19768>\
**Category:** Ask for Help\
**Created:** [December 12, 2020, 2:12pm UTC](https://community.glideapps.com/t/building-a-simple-calculator-for-food-recovery/19768 "2020-12-12T14:12:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jspellos](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jspellos/32/10824_2.png) [@jspellos](https://community.glideapps.com/u/jspellos)\
**Post date:** [December 12, 2020, 2:12pm UTC](https://community.glideapps.com/t/building-a-simple-calculator-for-food-recovery/19768/1 "2020-12-12T14:12:46Z")

</div>

Hi.

I would like Glide to perform and return a basic calculation based on User input of a number. The number, nor the calculated answer, needs to be stored in the Google sheet, though I world be interested in knowing if that is possible.

I work for a food recovery organization that picks up and delivers food to those in need of a meal. We have created a simple calculator in JavaScript that sits on our website, and we would like to have it on a Glide app as well.

Thanks in advance for the community’s help!

Jim Spellos

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 12, 2020, 2:20pm UTC](https://community.glideapps.com/t/building-a-simple-calculator-for-food-recovery/19768/2 "2020-12-12T14:20:47Z")

</div>

If you want the input to be in the Google Sheet, then each user should have a row of their own, the calculated number can be processed through Glide’s Math columns.

---

<div class="post-metadata">

**Author:** ![jspellos](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jspellos/32/10824_2.png) [@jspellos](https://community.glideapps.com/u/jspellos)\
**Post date:** [December 12, 2020, 2:45pm UTC](https://community.glideapps.com/t/building-a-simple-calculator-for-food-recovery/19768/3 "2020-12-12T14:45:10Z")

</div>

Thanks for the quick reply. What I don’t know is the math column. I looked in components, and couldn’t find it there. I must just be missing a simple answer here.

Appreciate your help.  
. Jim

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 12, 2020, 2:49pm UTC](https://community.glideapps.com/t/building-a-simple-calculator-for-food-recovery/19768/4 "2020-12-12T14:49:20Z")

</div>

You can read about it here.

> **[Math Column](https://docs.glideapps.com/all/reference/data-editor/computed-columns/math-column?q=lookup)**
>
> Performs instant calculations on your data

---

<div class="post-metadata">

**Author:** ![jspellos](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jspellos/32/10824_2.png) [@jspellos](https://community.glideapps.com/u/jspellos)\
**Post date:** [December 12, 2020, 3:07pm UTC](https://community.glideapps.com/t/building-a-simple-calculator-for-food-recovery/19768/5 "2020-12-12T15:07:22Z")

</div>

Thanks. I will check into that right away, and get back to the community if I have further questions.

Appreciate your help.

Jim

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [March 17, 2026, 11:41am UTC](https://community.glideapps.com/t/building-a-simple-calculator-for-food-recovery/19768/7 "2026-03-17T11:41:39Z")

</div>


