--- title: "Build a Simple Formula" slug: "build-a-simple-formula" updated: 2024-02-06T10:59:32Z published: 2024-02-06T10:59:32Z canonical: "kb.dataparc.com/build-a-simple-formula" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.dataparc.com/llms.txt > Use this file to discover all available pages before exploring further. # Build a Simple Formula **Purpose:** Build a simple formula using the OV variable. **Task:** Build a formula to convert degrees F to degrees C. Save the formula so it can be reused or modified later. **Steps:** 1. Find a temperature tag in Tag Browser and drag it onto a new Trend. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image002_017.jpg) 2. Right-click on the tag in Tag Browser and choose **Script** Editor. 3. Change the **Script Type** to **Formula**. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image004_031.jpg) 4. Type a formula name in the **Formula** field. Type a **Description** if desired. Do not include spaces or special characters in the formula name. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image006_027.jpg) 5. Change the **Data Type** to **Numeric**. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image008_024.jpg) 6. In the script edit area, enter the code for the script utilizing the **OV** output variable. Type: “OV = (IV-32) *5/9”. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image010_025.jpg) 7. Click **Run** to see test results. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image012_007.png) 8. Click the **Save Formula** button on the **Home** tab. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image014_011.png) 9. Drag the scripted tag onto the Trend. Adjust the **Plot Max** from the default of “100” to see values. Notice the tag name now has a tag switch appended to it: “ **/CALC=YOURNAME_DegFtoDegC**”. ![](https://cdn.document360.io/59db2ca4-e512-446a-a143-a7c626447812/Images/Documentation/image016_019.jpg)