[Home](./index.md) > [bitburner](./bitburner.md) > [Singularity](./bitburner.singularity.md) > [getCrimeChance](./bitburner.singularity.getcrimechance.md)
## Singularity.getCrimeChance() method
Get chance to successfully commit a crime.
Signature:
```typescript
getCrimeChance(crime: string): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| crime | string | Name of crime. |
Returns:
number
Chance of success at commiting the specified crime.
## Remarks
RAM cost: 5 GB
Singularity - Level 3
This function returns your chance of success at commiting the specified crime.