# DESS Calculation Formula

**URL:** <https://community.victronenergy.com/t/dess-calculation-formula/59303>\
**Category:** Q&A and troubleshooting\
**Tags:** dess, vrm, diy\
**Created:** [15 June 2026 15:34 UTC](https://community.victronenergy.com/t/dess-calculation-formula/59303 "2026-06-15T15:34:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![delucs](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@delucs](https://community.victronenergy.com/u/delucs)\
**Post date:** [15 June 2026 15:34 UTC](https://community.victronenergy.com/t/dess-calculation-formula/59303/1 "2026-06-15T15:34:12Z")

</div>

Hi, I am doing tests with the DESS, and so far so good, but I am wondering how I can input my formula for selling, as we have two situations: p\>0 then it is p\*_0.9, and if p\<0 we have p\*1.1. How could i implement such a formula? FYI information buying is calculated ((p_1.1)1+0.051)\*1.08
