How Amazon Detective calculates projected cost
To calculate the projected cost values that it displays on the Usage page, Detective does the following.

To get the projected cost for an individual account in a behavior graph, Detective does the following.

Calculates the average volume per day. It adds the data volume across all of the active days and then divides by the number of days that the account has been active.
If the account was enabled more than 30 days ago, then the number of days is 30. If the account was enabled fewer than 30 days ago, then it is the number of days since the acceptance date.
For example, if the account was enabled 12 days ago, then Detective adds the volume ingested for those 12 days and then divides it by 12.

Multiplies the account's daily average by 30. This is the projected 30day usage for the account.

Uses its pricing model to calculate the projected 30day cost for the projected 30day usage.


To get the total projected cost for a behavior graph, Detective does the following:

Combines the projected 30day usage from all of the accounts in the behavior graph.

Uses its pricing model to calculate the projected 30day cost for the total projected 30day usage.


To get the total projected cost for a member account across behavior graphs, Detective does the following:

Combines the projected 30day usage across all of the behavior graphs.

Uses its pricing model to calculated the projected 30day cost for the total projected 30day usage.
