# SORTINORATIO

## Description

The Sortino ratio measures the risk-adjusted return of an instrument (or portfolio) normalized by its downside deviation. This ratio is often considered a variant of the Sharpe ratio as it only considers downside risk. This is useful for investors and analysts to assess an investment's performance under undesirable volatility environments.

## Syntax

The following describes the function signature for use in Microsoft Excel's formula bar.

```excel-formula
=SORTINORATIO(returns, threshold)
```

### Input(s)

| Argument      | Description                                                                   |
| ------------- | ----------------------------------------------------------------------------- |
| **returns**   | Required. Time series or matrix of instrument returns.                        |
| **threshold** | Optional. Return threshold. If the argument is not defined, it will use zero. |

### Output(s)

Vector of Sortino ratio estimate(s).

## Example

![](/files/-MLEMdI8FuGd3wDtvDzD)

{% file src="/files/-MLEMhFMH7RCi9SNZIt\_" %}
Example Workbook: RATIOS
{% endfile %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://excelhelp.windhamlabs.com/functions/exposure-to-loss/sortinoratio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
