Ask AI
Skip to main content

Calculate percentage

Function: Calculate percentage

This action helps you determine what proportion one number represents of another, expressed as a percentage. It's useful for understanding ratios, progress, or shares in a clear, standardized way.

Input,

  • Part (NUMBER): This is the specific value or amount for which you want to find the percentage. It's the portion of the whole you are interested in.
  • Whole (NUMBER): This is the total or reference value against which the 'Part' is being compared. It represents the entire amount.

Output,

  • Result (NUMBER): The name of the variable where the calculated percentage will be stored. By default, this variable will be named "PERCENTAGE".

Execution Flow,

Real-Life Examples,

Here are some practical ways you can use the "Calculate percentage" action:

  1. Calculating Sales Commission Rate:

    • Scenario: You want to find out what percentage of total sales a salesperson's commission represents.
    • Inputs:
      • Part: 500 (The commission earned by the salesperson)
      • Whole: 10000 (The total sales made by the salesperson)
      • Result: CommissionRate
    • Result: A variable named CommissionRate will be created with the value 5.0. This means the commission earned is 5% of the total sales.
  2. Tracking Project Completion:

    • Scenario: You need to show the completion status of a project based on the number of tasks finished versus the total tasks.
    • Inputs:
      • Part: 75 (Number of tasks completed)
      • Whole: 100 (Total number of tasks in the project)
      • Result: ProjectProgress
    • Result: A variable named ProjectProgress will be created with the value 75.0. This indicates the project is 75% complete.
  3. Determining Discount Percentage:

    • Scenario: You want to calculate the percentage discount applied to an item.
    • Inputs:
      • Part: 20 (The discount amount in dollars)
      • Whole: 100 (The original price of the item in dollars)
      • Result: DiscountPercentage
    • Result: A variable named DiscountPercentage will be created with the value 20.0. This shows that a 20% discount was applied.