# Article Name 4 Ways to Calculate Your Annual Cost for Salesforce # Article Summary Explore four methods to calculate your annual Salesforce cost, enabling precise budgeting and informed spending forecasts # Original HTML URL on Toriihq.com https://www.toriihq.com/articles/how-to-find-annual-cost-salesforce # Details Figuring out what Salesforce really costs each year can feel like trying to hit a moving target. Licenses stack up, add-ons creep in, usage spikes, and suddenly the renewal quote looks nothing like last year. This guide breaks the puzzle into four clear methods so you can tally every seat, feature, and hidden fee before finance asks. Use whichever approach matches your data, compare the totals, and head into budgeting talks with real numbers. ## Use Salesforce's UI These steps show how to check your annual Salesforce subscription costs in the UI. ### 1. Open the Your Account app - In Lightning Experience, open the App Launcher (the nine-dot waffle). - Type "Your Account" in the search field. - Choose the Your Account app from the list. Salesforce’s help page, “View and Manage Your Salesforce Subscriptions with the Your Account App,” confirms this is where billing details live. ### 2. Go to the Subscriptions tab - The Subscriptions tab sits on the left rail. - Select it to list every active and past subscription tied to your org. ### 3. Read the Annual Cost column - Scan the grid for the "Annual Value" (sometimes labeled "Annual Cost") column. - Each row shows the amount billed every contract year for that product bundle. ### 4. Drill into a subscription for more detail - Click the subscription name to open its record. - Look for the Cost Summary section. - "Annual Value" shows the yearly charge. - "Total Contract Value" lists the full multi-year total. - "Term" gives the contract length in months, handy for spotting proration. ### 5. Export or print the numbers (optional) - In the upper-right corner of the subscription record, click the down arrow. - Choose "Download PDF" or "Export CSV." A file downloads with the same annual amounts you just viewed, ready for finance or procurement. ### 6. Repeat for any other active subscriptions - Return to the Subscriptions tab. - Open the next record until you have all yearly costs noted or exported. ## Use Torii Instead of pulling cost reports straight from Salesforce, try Torii [https://www.toriihq.com/], a SaaS management platform, to see your annual Salesforce spend. An SMP collects every subscription you run and shows a single reliable snapshot of your entire SaaS stack. To view your yearly Salesforce costs inside Torii, follow these steps: ### 1. Sign up for Torii Contact Torii Sales [https://www.toriihq.com/info/request-a-demo] and request the complimentary two-week proof-of-concept. ### 2. Connect your Salesforce account to Torii Once your Torii environment is active, link your existing Salesforce org. The process is quick; simply follow the Salesforce integration guide [https://support.toriihq.com/hc/en-us/articles/5195073819035-Salesforce-Integration]. ### 3. Search for Salesforce within Torii From the Torii dashboard, use the top search bar to look up “Salesforce.” This opens the Salesforce page, where you can review license counts, total spend, renewal dates, and other vital details. ### Or, chat with Eko Torii’s AI assistant, Eko [https://www.toriihq.com/eko], also pulls Salesforce data directly into the platform. Click the Eko icon at the lower-right corner of the dashboard, enter your Salesforce query, and the results appear immediately in the chat window. ## Use Salesforce's API Call the Salesforce REST API, run an aggregate SOQL query, then read the response. No clicks involved. ### 1. Grab an access token - Send a POST to https://login.salesforce.com/services/oauth2/token - Include these form parameters: - granttype=password - clientid and clientsecret from your connected app - username and password (append the security token to the password if your org still uses one) - The JSON response contains accesstoken and instanceurl. Save both for upcoming calls. ### 2. Build an aggregate SOQL query Pick the object that tracks recurring cost. Common picks: - Opportunity with a custom checkbox ClosedWon and a custom number field AnnualCost_c - Contract with AnnualValue (Adjust names to match your org.) Example query for closed-won opportunities in the current fiscal year: The SUM() function has Salesforce do the math, so you skip post-processing. Details sit in the SOQL Developer Guide under “Aggregate Functions.” ### 3. Call the Query endpoint - Method: GET - URL: {instanceurl}/services/data/v59.0/query?q={urlEncodedSOQL} - Headers: - Authorization: Bearer {accesstoken} - Content-Type: application/json Sample curl: ### 4. Read the response Salesforce replies with JSON like: annualCost holds the summed value for your filter. ### 5. Tweak filters as needed - Different fiscal year? Swap THISFISCALYEAR for a literal year: CALENDARYEAR(CloseDate) = 2024. - Rolling 12 months? Use CloseDate = LASTNMONTHS:12. - Per account? Add AND AccountId = '001xx000004Txyz'. ### 6. Automate the pull - Run the same query on a schedule with your preferred scheduler or integration tool. - Cache, display, or push the number to another system as needed. You now have a repeatable, code-only process for surfacing annual cost straight from Salesforce. ## Use Claude (via MCP) Pull this data straight into Claude with the Model Context Protocol (MCP). Claude, Anthropic’s conversational AI, can stand in for ChatGPT. Follow these steps to show your Salesforce annual spend inside Claude: ### 1. Connect Torii Use the earlier Torii [https://www.toriihq.com/] connection steps to link your Salesforce workspace to Torii. ### 2. Enable MCP inside Claude Start by reviewing the Torii MCP guide [https://www.npmjs.com/package/@toriihq/torii-mcp?activeTab=readme] and its related article [https://www.toriihq.com/blog/introducing-model-context-protocol-in-torii] for setup details before you continue. After installing the Claude Desktop application, insert the following snippet into your claudedesktopconfig.json file to point Claude at Torii: Generate an API key from the Settings page of your Torii console. The key carries the same level of access as your user account, so keep it stored in a safe place. ### 3. Start the conversation Open a chat with Claude and start querying your Torii data. Ask for a breakdown of Salesforce licenses, current spend, renewal dates, and any other details you need. ## Torii for SaaS Management Let us know if you’d like a closer, more practical look at modern SaaS management. Torii's SaaS Management Platform enables you to: - Uncover shadow apps: AI keeps watch in the background and flags unapproved software the moment seems. - Reduce spending: Drop unused licenses and overlapping subscriptions to stop the bleed. - Automate onboarding and offboarding: Let workflows handle repetitive IT tasks so people can focus on tougher problems. - Receive proactive renewal reminders: Contracts never sneak up because the platform nudges you well before every renewal date. Torii brings Finance, IT, and Security teams a shared, reliable picture of every app in use. For details, real-world case studies, and a quick product tour, head over to Torii [https://www.toriihq.com] to explore.