# \[Code Tasks\] How to calculate insurance premiums

**URL:** <https://community.process.st/t/code-tasks-how-to-calculate-insurance-premiums/1921>\
**Category:** How To\
**Tags:** workflows, code-tasks\
**Created:** [August 19, 2025, 9:24am UTC](https://community.process.st/t/code-tasks-how-to-calculate-insurance-premiums/1921 "2025-08-19T09:24:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ellie](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.process.st/ellie/32/42_2.png) [@Ellie](https://community.process.st/u/Ellie)\
**Post date:** [August 19, 2025, 9:24am UTC](https://community.process.st/t/code-tasks-how-to-calculate-insurance-premiums/1921/1 "2025-08-19T09:24:28Z")

</div>

Brenda walks you through how you can calculate insurance premiums in your workflows using [Code Tasks](https://www.process.st/help/docs/code-task/).

https://www.loom.com/embed/64cd25e7809c4bfc8e882bfaf9f78d9f?sid=47ce4a2b-5655-46f9-8e74-40cdb5e39ba6

Depending on the insured age, insured amount, health factor, the code task will automatically calculate the insurance monthly premium amount within the process.
