> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# What is the `Est. Runs` column?

W\&B provides an estimated number of runs generated when creating a W\&B Sweep with a discrete search space. This total reflects the Cartesian product of the search space.

For instance, consider the following search space:

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541/6bJLb4DIApn2yeFO/images/sweeps/sweeps_faq_whatisestruns_1.png?fit=max&auto=format&n=6bJLb4DIApn2yeFO&q=85&s=270f85337c2aab9c8e50dbc0510760cc" alt="Estimated runs column" width="476" height="406" data-path="images/sweeps/sweeps_faq_whatisestruns_1.png" />
</Frame>

In this case, the Cartesian product equals 9. W\&B displays this value in the App UI as the estimated run count (**Est. Runs**):

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541/6bJLb4DIApn2yeFO/images/sweeps/spaces_sweeps_faq_whatisestruns_2.webp?fit=max&auto=format&n=6bJLb4DIApn2yeFO&q=85&s=71464fceb9749fe099211a314440e281" alt="Sweep run estimation" width="2820" height="228" data-path="images/sweeps/spaces_sweeps_faq_whatisestruns_2.webp" />
</Frame>

To retrieve the estimated run count programmatically, use the `expected_run_count` attribute of the `Sweep` object within the W\&B SDK:

```python theme={null}
sweep_id = wandb.sweep(
    sweep_configs, project="your_project_name", entity="your_entity_name"
)
api = wandb.Api()
sweep = api.sweep(f"your_entity_name/your_project_name/sweeps/{sweep_id}")
print(f"EXPECTED RUN COUNT = {sweep.expected_run_count}")
```

***

<Badge stroke shape="pill" color="orange" size="md">[Sweeps](/support/models/tags/sweeps)</Badge><Badge stroke shape="pill" color="orange" size="md">[Hyperparameter](/support/models/tags/hyperparameter)</Badge>
