# Help: Score calculation

**URL:** <https://forum.dimagi.com/t/help-score-calculation/8900>\
**Category:** Users\
**Created:** [April 8, 2022, 1:26pm UTC](https://forum.dimagi.com/t/help-score-calculation/8900 "2022-04-08T13:26:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![davuyambantu](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/d/a87d85/32.png) [@davuyambantu](https://forum.dimagi.com/u/davuyambantu)\
**Post date:** [April 8, 2022, 1:26pm UTC](https://forum.dimagi.com/t/help-score-calculation/8900/1 "2022-04-08T13:26:04Z")

</div>

Hi all,

Can anyone help us with the **formula** to create/calculate a score from a checklist step by step?

We have 16 yes/no single select questions. One of the questions is shown below.

 ![image](https://dimagi.b-cdn.net/uploads/default/original/2X/9/99ee2a81f6da432a784801b25de011be23e8ace8.png)

What does **choice value** mean in the image? We want to put **1** as default value if the answer is **yes** and **0** if the answer is **no.**

After we want to calculate a score by **summing all yes answers divided by total number of applicable answers** (in our case there are sixteen applicable answers as we have sixteen single choice questions).

There is a section that talks about hidden values, but we do not know how we can use them.

Looking forward to your reply.

---

<div class="post-metadata">

**Author:** ![Clayton\_Sims](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/clayton_sims/32/496_2.png) [@Clayton\_Sims](https://forum.dimagi.com/u/Clayton_Sims)\
**Post date:** [April 8, 2022, 3:31pm UTC](https://forum.dimagi.com/t/help-score-calculation/8900/2 "2022-04-08T15:31:32Z")

</div>

It sounds like you are on the right track overall here.

I think you should be able to score these by creating a hidden value with a calculation like

(int(#form/question\_1) + int(#form/question\_2) + ... ) div 16
