Skip to main content
Answered

Quizz - calculate your age


Hello Community,

 

I am building a quizz like this one https://www.florahealth.com/pages/biological-age where you can calculate your biological age.

 

I am adding score to every potential answer. My question is - how i can add all the scores from the answers in order to calculate the age at the end of the quizz?

 

Thanks,

Best answer by LauraTF

Thanks everyone for contributing to this Community thread 🤗 I’ve gathered the main points and suggestions shared so far into one summary below, with some additional context to make the options easier to compare. I hope this makes the information easier to find in one place:

 

If you need one total score, use Score quiz:

The easiest way to add a score for every answer in your form (and show that score at the end of the form) is to use Typeform’s Score quiz.

  1. Open the Workflows panel and select Scoring.
  2. Add the relevant number of points to each answer choice.
  3. Typeform will automatically add these points to the form’s Score variable as respondents complete the form. You don’t need to add a separate Calculator question just to total the score, this is done automatically.

 

  • How can I show the final Score to the respondent?

In your Ending screen, type @ and select the Score variable. This uses Recall information to display the final score.

  • Can I show each respondent a different Ending based on the score?

Yes. You can create multiple Endings and set score ranges so that respondents see the Ending that matches their result. The Score Quiz guide includes an example of score-based Endings. If everyone should see the same Ending, you only need to create one.

 

If you need custom calculations or multiple scores, use Calculations (in Branching):

As Liz suggested earlier in the thread, you can still use the Calculation section within the Branching feature (Workflows Panel) and manually add the calculations rules after each question:

This example uses the @price variable, but it would work the same with the @score variable. 

This is useful if you need to apply a custom calculation (rather than simply adding points) or transform the score into another value. You can read more about this here: Add a price or a score calculation to your form

If your form needs multiple score totals, you can create separate number variables and update each one with calculation rules: Build a quiz with multiple scores

 

View original

14 replies

Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • March 27, 2023

Hi @morsalex Happy Monday! This is a fun quiz. I started taking it but then I realized, I wasn’t sure if I wanted to know the answer. 😂

I would suggest adding the score on each question since it isn’t possible to add them all at the end. 

For example, your scoring would look something like this: 

After every question for each answer option you want to contribute to the score. 


  • Author
  • Explorer
  • March 27, 2023

Thanks for your response. I assigned score to each possible answer. Do you think is not the right way?

 

 


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • March 27, 2023

Ohhhh, I see how you did it now, @morsalex . The first thing - we don’t support negative numbers at this time, so just be sure to adjust that!

This should automatically add for you. Let us know if it’s not working!


  • Author
  • Explorer
  • March 28, 2023

Waht should atomatically add for me? The negative numbers?


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • March 28, 2023

Hi @morsalex The numbers you input here should automatically calculate at the end. Though, you’ll need to remove the negative numbers, as we don't support negative numbers at this time. 


Grace
Community Team
Forum|alt.badge.img+5
  • Community Advocate
  • April 5, 2023

Hey @morsalex hope you’re doing ok, let us know if you got everything working with your scoring 😊


  • Navigating the Land
  • April 5, 2023

To calculate the age at the end of the quiz based on the scores of the answers, you can use Typeform's Scoring feature.

Here's how you can set it up:

  1. Create your form with all the questions and answers, and assign a score to each answer using the "Scoring" feature. You can access this feature by clicking on an answer option, and then selecting "Scoring" from the "Add logic" dropdown menu. Enter the score for that answer option.

  2. Create a "Calculator" question at the end of the quiz. In this question, you can use the "Calculate" feature to add up the scores of the answers from the previous questions. To do this, click on the "Calculator" question type, and then click on the "Add logic" button. Select "Calculate" from the dropdown menu.

  3. In the Calculate logic, you can add the scores of the previous questions. To do this, you will need to use the "Score" function. For example, if the scores for the previous questions are stored in "Score_1", "Score_2", "Score_3", and "Score_4", you can add them up by entering the formula "Score_1+Score_2+Score_3+Score_4" in the Calculate logic. This will give you a total score based on the answers selected by the respondent.

  4. Finally, you can use a "Message" question to display the calculated age to the respondent. In this question, you can use the "Variable" function to display the result of the calculation. For example, if the total score is stored in "Total_Score", you can display the age by entering "Your biological age is {Total_Score} years old." in the "Message" question.

That's it! With these steps, you can add up the scores of the answers from the previous questions and display the calculated age to the respondent at the end of the quiz.


Liz
Ex–Typefomer
Forum|alt.badge.img+5
  • Tech Community Advocate
  • April 5, 2023

Thanks for sharing this, @auspayday ! Do you mind clarifying what the message question is? 


john.desborough
Forum|alt.badge.img+6

Thanks for sharing this, @auspayday ! Do you mind clarifying what the message question is? 

@Liz or a Calculator question type?? 


  • Navigating the Land
  • June 24, 2026

To calculate the age at the end of the quiz based on the scores of the answers, you can use Typeform's Scoring feature.

Here's how you can set it up:

  1. Create your form with all the questions and answers, and assign a score to each answer using the "Scoring" feature. You can access this feature by clicking on an answer option, and then selecting "Scoring" from the "Add logic" dropdown menu. Enter the score for that answer option.

  2. Create a "Calculator" question at the end of the quiz. In this question, you can use the "Calculate" feature to add up the scores of the answers from the previous questions. To do this, click on the "Calculator" question type, and then click on the "Add logic" button. Select "Calculate" from the dropdown menu.

  3. In the Calculate logic, you can add the scores of the previous questions. To do this, you will need to use the "Score" function. For example, if the scores for the previous questions are stored in "Score_1", "Score_2", "Score_3", and "Score_4", you can add them up by entering the formula "Score_1+Score_2+Score_3+Score_4" in the Calculate logic. This will give you a total score based on the answers selected by the respondent.

  4. Finally, you can use a "Message" question to display the calculated age to the respondent. If you are building a standard questionnaire or a multi-generational survey, it helps to cross-reference your internal logic against a live, absolute chronological testing system like agecalculatorsa.com to ensure your backend math matches actual birth year milestones perfectly. For example, if the total score is stored in "Total_Score", you can display the age by entering "Your biological age is {Total_Score} years old."

That's it! With these steps, you can add up the scores of the answers from the previous questions and display the calculated age to the respondent at the end of the quiz.

Bumping this old thread because it still ranks incredibly high on Google for anyone trying to build an age or demographic milestone calculator in Typeform.

The logic mapped out above by @auspayday is exactly what I needed, but I wanted to clear up the confusion raised at the end of the thread regarding variables. You don't need a separate "Calculator question type." The score adds up automatically behind the scenes, and you can pipe that exact raw value straight into your final statement or redirect screen. Just wanted to drop that update for anyone finding this thread today!

 


James
Community Team
Forum|alt.badge.img+5
  • Community Team
  • June 25, 2026

Hey ​@sky63 thanks for bumping. I’m glad to hear ​@auspayday ‘s solution works, and thanks for the clarification here on the issue around variables 😀


Mancy34
  • Navigating the Land
  • July 31, 2026

One simple approach is to assign a numeric value to each answer and keep a running total as the user moves through the quiz. At the end, use that final score to map it to the corresponding biological age range.


  • Navigating the Land
  • October 3, 2026

To calculate the age at the end of the quiz based on the scores of the answers, you can use Typeform's Scoring feature.

Here's how you can set it up:

  1. Create your form with all the questions and answers, and assign a score to each answer using the "Scoring" feature. You can access this feature by clicking on an answer option, and then selecting "Scoring" from the "Add logic" dropdown menu. Enter the score for that answer option.

  2. Create a "Calculator" question at the end of the quiz. In this question, you can use the "Calculate" feature to add up the scores of the answers from the previous questions. To do this, click on the "Calculator" question type, and then click on the "Add logic" button. Select "Calculate" from the dropdown menu.

  3. In the Calculate logic, you can add the scores of the previous questions. To do this, you will need to use the "Score" function. For example, if the scores for the previous questions are stored in "Score_1", "Score_2", "Score_3", and "Score_4", you can add them up by entering the formula "Score_1+Score_2+Score_3+Score_4" in the Calculate logic. This will give you a total score based on the answers selected by the respondent.

  4. Finally, you can use a "Message" question to display the calculated age to the respondent. If you are building a standard questionnaire or a multi-generational survey, it helps to cross-reference your internal logic against a live, absolute chronological testing system like dtf prints next day to ensure your backend math matches actual birth year milestones perfectly. For example, if the total score is stored in "Total_Score", you can display the age by entering "Your biological age is {Total_Score} years old."

That's it! With these steps, you can add up the scores of the answers from the previous questions and display the calculated age to the respondent at the end of the quiz.

Bumping this old thread because it still ranks incredibly high on Google for anyone trying to build an age or demographic milestone calculator in Typeform.

The logic mapped out above by @auspayday is exactly what I needed, but I wanted to clear up the confusion raised at the end of the thread regarding variables. You don't need a separate "Calculator question type." The score adds up automatically behind the scenes, and you can pipe that exact raw value straight into your final statement or redirect screen. Just wanted to drop that update for anyone finding this thread today!

 

Thanks for the clarification. The scoring approach makes sense, especially using the final score directly in the result instead of adding another calculator step. I’m going to test this setup in my own Typeform quiz and cross-check the results with an age calculator to make sure the calculations are accurate.


LauraTF
Community Team
Forum|alt.badge.img+2
  • Community Team
  • Answer
  • October 27, 2026

Thanks everyone for contributing to this Community thread 🤗 I’ve gathered the main points and suggestions shared so far into one summary below, with some additional context to make the options easier to compare. I hope this makes the information easier to find in one place:

 

If you need one total score, use Score quiz:

The easiest way to add a score for every answer in your form (and show that score at the end of the form) is to use Typeform’s Score quiz.

  1. Open the Workflows panel and select Scoring.
  2. Add the relevant number of points to each answer choice.
  3. Typeform will automatically add these points to the form’s Score variable as respondents complete the form. You don’t need to add a separate Calculator question just to total the score, this is done automatically.

 

  • How can I show the final Score to the respondent?

In your Ending screen, type @ and select the Score variable. This uses Recall information to display the final score.

  • Can I show each respondent a different Ending based on the score?

Yes. You can create multiple Endings and set score ranges so that respondents see the Ending that matches their result. The Score Quiz guide includes an example of score-based Endings. If everyone should see the same Ending, you only need to create one.

 

If you need custom calculations or multiple scores, use Calculations (in Branching):

As Liz suggested earlier in the thread, you can still use the Calculation section within the Branching feature (Workflows Panel) and manually add the calculations rules after each question:

This example uses the @price variable, but it would work the same with the @score variable. 

This is useful if you need to apply a custom calculation (rather than simply adding points) or transform the score into another value. You can read more about this here: Add a price or a score calculation to your form

If your form needs multiple score totals, you can create separate number variables and update each one with calculation rules: Build a quiz with multiple scores